π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][auth] Lockscreen fixes
Aman Raj Singh Mouryaa14a8b0cfbe8
diff --git a/auth/lib/ui/settings/lock_screen/lock_screen_options.dart b/auth/lib/ui/settings/lock_screen/lock_screen_options.dartindex e0e71cc03f..2bbc3750ac 100644--- a/auth/lib/ui/settings/lock_screen/lock_screen_options.dart+++ b/auth/lib/ui/settings/lock_screen/lock_screen_options.dart@@ -103,8 +103,10 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {AppLock.of(context)!.setEnabled(!appLock);await _configuration.setSystemLockScreen(!appLock);await _lockscreenSetting.removePinAndPassword();- if (appLock == false) {- await _lockscreenSetting.setHideAppContent(true);+ if (PlatformUtil.isMobile()) {+ if (appLock == false) {+ await _lockscreenSetting.setHideAppContent(true);+ }}setState(() {_initializeSettings();@@ -168,6 +170,7 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {mainAxisSize: MainAxisSize.min,children: [Column(+ crossAxisAlignment: CrossAxisAlignment.start,children: [MenuItemWidget(captionedTextWidget: CaptionedTextWidget(@@ -308,10 +311,10 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {captionedTextWidget:CaptionedTextWidget(title:- context.l10n.deviceLock,+ context.l10n.hideContent,),alignCaptionedTextToLeft: true,- isTopBorderRadiusRemoved: true,+ singleBorderRadius: 8,menuItemColor:colorTheme.fillFaint,trailingWidget: