mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-21 19:40:38 +02:00
Don't try to decrypt appData unless it is a writeable account
This commit is contained in:
@@ -64,6 +64,7 @@ class AppSpecificState(
|
||||
}
|
||||
|
||||
init {
|
||||
if (settings.isWriteable()) {
|
||||
settings.backupAppSpecificData?.let { event ->
|
||||
Log.d("AccountRegisterObservers", "Loading saved app specific data ${event.toJson()}")
|
||||
@OptIn(DelicateCoroutinesApi::class)
|
||||
@@ -102,4 +103,5 @@ class AppSpecificState(
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user