mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Fix crash when launching app for non-internal users.
This commit is contained in:
@@ -225,7 +225,7 @@ class BackupValues(store: KeyValueStore) : SignalStoreValues(store) {
|
||||
}
|
||||
set(value) {
|
||||
// TODO [backup] Remove for launch
|
||||
if (!RemoteConfig.internalUser) {
|
||||
if (!RemoteConfig.internalUser && value != null) {
|
||||
throw IllegalStateException("Setting backup tier is only allowed for internal users!")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user