Fixes deserialization issues with old jsons that didn't have these properties

This commit is contained in:
Vitor Pamplona
2025-11-15 15:27:57 -05:00
parent 7742e27780
commit 14e3098924
@@ -77,9 +77,9 @@ private const val DEBUG_PREFERENCES_NAME = "debug_prefs"
@Serializable @Serializable
data class AccountInfo( data class AccountInfo(
val npub: String, val npub: String,
val hasPrivKey: Boolean, val hasPrivKey: Boolean = false,
val loggedInWithExternalSigner: Boolean, val loggedInWithExternalSigner: Boolean = false,
val isTransient: Boolean, val isTransient: Boolean = false,
) )
private object PrefKeys { private object PrefKeys {