π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Revert change to remove bug
ashilkn4451d39ac9de
diff --git a/mobile/lib/ui/settings/lock_screen/lock_screen_options.dart b/mobile/lib/ui/settings/lock_screen/lock_screen_options.dartindex bfb34d1c03..b4bf852f1e 100644--- a/mobile/lib/ui/settings/lock_screen/lock_screen_options.dart+++ b/mobile/lib/ui/settings/lock_screen/lock_screen_options.dart@@ -36,6 +36,7 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {@overridevoid initState() {super.initState();+ hideAppContent = _lockscreenSetting.getShouldHideAppContent();autoLockTimeInMilliseconds = _lockscreenSetting.getAutoLockTime();_initializeSettings();appLock = isPinEnabled ||@@ -46,10 +47,12 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {Future<void> _initializeSettings() async {final bool passwordEnabled = await _lockscreenSetting.isPasswordSet();final bool pinEnabled = await _lockscreenSetting.isPinSet();+ final bool shouldShowAppContent =+ _lockscreenSetting.getShouldHideAppContent();setState(() {isPasswordEnabled = passwordEnabled;isPinEnabled = pinEnabled;- hideAppContent = _lockscreenSetting.getShouldHideAppContent();+ hideAppContent = shouldShowAppContent;});}