git.iko.soy/opencode-android
on master help sign in
Fix outbox-dropped notification title and backup dynamicColor default
081e3c4iko
app/src/main/java/soy/iko/opencode/data/repo/BackupManager.kt+1−1
@@ -28,7 +28,7 @@ data class BackupSettings(
28 // loop, aborting the ENTIRE restore (servers/pins/archives included) despite the best-effort
28 // loop, aborting the ENTIRE restore (servers/pins/archives included) despite the best-effort
29 // contract. ignoreUnknownKeys only tolerates EXTRA keys, not missing required ones.
29 // contract. ignoreUnknownKeys only tolerates EXTRA keys, not missing required ones.
30 val themeMode: String = ThemeMode.SYSTEM.name,
30 val themeMode: String = ThemeMode.SYSTEM.name,
31− val dynamicColor: Boolean = true,
31+ val dynamicColor: Boolean = false,
32 val sendOnEnter: Boolean = true,
32 val sendOnEnter: Boolean = true,
33 val appLock: Boolean = false,
33 val appLock: Boolean = false,
34 val appLockReLockSeconds: Int = SettingsStore.DEFAULT_APP_LOCK_RELOCK_SECONDS,
34 val appLockReLockSeconds: Int = SettingsStore.DEFAULT_APP_LOCK_RELOCK_SECONDS,
app/src/main/java/soy/iko/opencode/di/AppContainer.kt+2−1
@@ -610,10 +610,11 @@ open class AppContainer private constructor(
610 // implies). Tap routes back to the originating profile's session.
610 // implies). Tap routes back to the originating profile's session.
611 val ctx = appContext
611 val ctx = appContext
612 if (ctx != null) {
612 if (ctx != null) {
613+ val title = resolveSessionTitle(msg.sessionId, conn.repository)
613 runCatchingCancellable {
614 runCatchingCancellable {
614 SessionNotifications.postOutboxDropped(
615 SessionNotifications.postOutboxDropped(
615 ctx, msg.sessionId,
616 ctx, msg.sessionId,
616− msg.sessionId,
617+ title,
617 conn.profile.id,
618 conn.profile.id,
618 )
619 )
619 }.onFailure {
620 }.onFailure {