π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][auth] Used better names
Aman Raj Singh Mourya3fd7100dd75a
diff --git a/auth/lib/ui/settings/lock_screen/lock_screen_options.dart b/auth/lib/ui/settings/lock_screen/lock_screen_options.dartindex de4d2f5173..7d24f995fc 100644--- a/auth/lib/ui/settings/lock_screen/lock_screen_options.dart+++ b/auth/lib/ui/settings/lock_screen/lock_screen_options.dart@@ -49,10 +49,12 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {Future<void> _initializeSettings() async {final bool passwordEnabled = await _lockscreenSetting.isPasswordSet();final bool pinEnabled = await _lockscreenSetting.isPinSet();+ final bool shouldHideAppContent =+ _lockscreenSetting.getShouldHideAppContent();setState(() {isPasswordEnabled = passwordEnabled;isPinEnabled = pinEnabled;- hideAppContent = _lockscreenSetting.getShouldHideAppContent();+ hideAppContent = shouldHideAppContent;});}diff --git a/auth/lib/utils/lock_screen_settings.dart b/auth/lib/utils/lock_screen_settings.dartindex 9c9638cd8a..53b087198b 100644--- a/auth/lib/utils/lock_screen_settings.dart+++ b/auth/lib/utils/lock_screen_settings.dart@@ -19,7 +19,7 @@ class LockScreenSettings {static const keyInvalidAttempts = "ls_invalid_attempts";static const lastInvalidAttemptTime = "ls_last_invalid_attempt_time";static const autoLockTime = "ls_auto_lock_time";- static const keyHideAppContent = "ls_show_app_content";+ static const keyHideAppContent = "ls_hide_app_content";final List<Duration> autoLockDurations = const [Duration(seconds: 0),Duration(seconds: 5),