mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-09 23:22:35 +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 {
|
init {
|
||||||
|
if (settings.isWriteable()) {
|
||||||
settings.backupAppSpecificData?.let { event ->
|
settings.backupAppSpecificData?.let { event ->
|
||||||
Log.d("AccountRegisterObservers", "Loading saved app specific data ${event.toJson()}")
|
Log.d("AccountRegisterObservers", "Loading saved app specific data ${event.toJson()}")
|
||||||
@OptIn(DelicateCoroutinesApi::class)
|
@OptIn(DelicateCoroutinesApi::class)
|
||||||
@@ -102,4 +103,5 @@ class AppSpecificState(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user