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
data class AccountInfo(
val npub: String,
val hasPrivKey: Boolean,
val loggedInWithExternalSigner: Boolean,
val isTransient: Boolean,
val hasPrivKey: Boolean = false,
val loggedInWithExternalSigner: Boolean = false,
val isTransient: Boolean = false,
)
private object PrefKeys {