Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -285,4 +285,5 @@ dependencies {
coreLibraryDesugaring(libs.desugaring)

implementation(libs.timber)
implementation(libs.security.crypto)
}
Empty file modified app/generate_proto.sh
100644 → 100755
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,13 @@ val DiscordActivityTypeKey = stringPreferencesKey("discordActivityType")
val DiscordActivityNameKey = stringPreferencesKey("discordActivityName")
val DiscordAdvancedModeKey = booleanPreferencesKey("discordAdvancedMode")

// Matrix RPC
val MatrixAccountsKey = stringPreferencesKey("matrixAccounts")
val EnableMatrixRPCKey = booleanPreferencesKey("matrixRPCEnable")
val MatrixStatusFormatKey = stringPreferencesKey("matrixStatusFormat")
val MatrixUpdateIntervalKey = intPreferencesKey("matrixUpdateInterval")
val MatrixClearStatusKey = booleanPreferencesKey("matrixClearStatus")

// Google Cast
val EnableGoogleCastKey = booleanPreferencesKey("enableGoogleCast")

Expand Down
18 changes: 18 additions & 0 deletions app/src/main/kotlin/com/metrolist/music/models/MatrixAccount.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/**
* Metrolist Project (C) 2026
* Licensed under GPL-3.0 | See git history for contributors
*/

package com.metrolist.music.models

import kotlinx.serialization.Serializable

@Serializable
data class MatrixAccount(
val homeserver: String,
val userId: String,
) {
override fun toString(): String {
return "MatrixAccount(homeserver='$homeserver', userId='$userId')"
}
}
Loading
Loading