Disable the 'optimize storage' feature for production users.

This commit is contained in:
Greyson Parrelli
2025-09-03 13:43:04 -04:00
parent 1f40c7ab7e
commit 4179592ae7
2 changed files with 3 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ class BackupValues(store: KeyValueStore) : SignalStoreValues(store) {
val deletionStateFlow: Flow<DeletionState> = deletionStateValue.toFlow()
var optimizeStorage: Boolean by booleanValue(KEY_OPTIMIZE_STORAGE, false)
var optimizeStorage: Boolean by booleanValue(KEY_OPTIMIZE_STORAGE, false).withPrecondition { RemoteConfig.internalUser || Environment.IS_STAGING }
var backupWithCellular: Boolean
get() = getBoolean(KEY_BACKUP_OVER_CELLULAR, false)
set(value) {