Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

remove local setting flag

AmanRajSinghMouryabfc3637db20e
diff --git a/mobile/apps/photos/lib/settings/local_settings.dart b/mobile/apps/photos/lib/settings/local_settings.dart
index 0691752a66..76f407839d 100644
--- a/mobile/apps/photos/lib/settings/local_settings.dart
+++ b/mobile/apps/photos/lib/settings/local_settings.dart
@@ -89,7 +89,6 @@ class LocalSettings {
static const kShowLocalIDOverThumbnails = "show_local_id_over_thumbnails";
static const kEnableDatabaseLogging = "enable_db_logging";
static const _kInternalUserDisabled = "ls.internal_user_disabled";
- static const _kLargeBackupStandbyEnabled = "ls.large_backup_standby_enabled";
static const _kBGDebugNotificationsEnabled =
"ls.bg_debug_notifications_enabled";
static const _kCFUploadProxyEnabled = "ls.cf_upload_proxy_enabled";
@@ -523,13 +522,6 @@ class LocalSettings {
await _prefs.setBool(_kInternalUserDisabled, value);
}
- bool get isLargeBackupStandbyEnabled =>
- _prefs.getBool(_kLargeBackupStandbyEnabled) ?? false;
-
- Future<void> setLargeBackupStandbyEnabled(bool value) async {
- await _prefs.setBool(_kLargeBackupStandbyEnabled, value);
- }
-
bool get isBGDebugNotificationsEnabled =>
_prefs.getBool(_kBGDebugNotificationsEnabled) ??
(Platform.isAndroid ? false : true);