Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob] Remove unused method

Neeraj Guptaeb3637deef5c
diff --git a/mobile/lib/services/user_remote_flag_service.dart b/mobile/lib/services/user_remote_flag_service.dart
index 98c326e4d7..a3b1e5553c 100644
--- a/mobile/lib/services/user_remote_flag_service.dart
+++ b/mobile/lib/services/user_remote_flag_service.dart
@@ -55,14 +55,6 @@ class UserRemoteFlagService {
return _prefs.getBool(key) ?? defaultValue;
}
- Future<bool> getBoolValue(String key) async {
- if (_prefs.containsKey(key)) {
- return _prefs.getBool(key)!;
- }
- return _getValue(key, "false")
- .then((value) => value.toLowerCase() == "true");
- }
-
Future<bool> setBoolValue(String key, bool value) async {
await _updateKeyValue(key, value.toString());
return _prefs.setBool(key, value);