From 2be4c7e470b23a27ddbf68e4f7a3ee0088462b9b Mon Sep 17 00:00:00 2001 From: ashilkn Date: Wed, 24 Jul 2024 17:52:44 +0530 Subject: [PATCH] [mob][photos] Minor UI changes --- mobile/lib/ui/settings/lock_screen/lock_screen_options.dart | 4 ++++ mobile/lib/ui/settings/security_section_widget.dart | 1 + 2 files changed, 5 insertions(+) diff --git a/mobile/lib/ui/settings/lock_screen/lock_screen_options.dart b/mobile/lib/ui/settings/lock_screen/lock_screen_options.dart index deb4f70a3e..cbda333080 100644 --- a/mobile/lib/ui/settings/lock_screen/lock_screen_options.dart +++ b/mobile/lib/ui/settings/lock_screen/lock_screen_options.dart @@ -215,6 +215,7 @@ class _LockScreenOptionsState extends State { captionedTextWidget: CaptionedTextWidget( title: S.of(context).deviceLock, ), + surfaceExecutionStates: false, alignCaptionedTextToLeft: true, isTopBorderRadiusRemoved: false, isBottomBorderRadiusRemoved: true, @@ -234,6 +235,7 @@ class _LockScreenOptionsState extends State { captionedTextWidget: CaptionedTextWidget( title: S.of(context).pinLock, ), + surfaceExecutionStates: false, alignCaptionedTextToLeft: true, isTopBorderRadiusRemoved: true, isBottomBorderRadiusRemoved: true, @@ -251,6 +253,7 @@ class _LockScreenOptionsState extends State { captionedTextWidget: CaptionedTextWidget( title: S.of(context).passwordLock, ), + surfaceExecutionStates: false, alignCaptionedTextToLeft: true, isTopBorderRadiusRemoved: true, isBottomBorderRadiusRemoved: false, @@ -274,6 +277,7 @@ class _LockScreenOptionsState extends State { ), ), ), + surfaceExecutionStates: false, trailingIcon: Icons.chevron_right_outlined, trailingIconIsMuted: true, diff --git a/mobile/lib/ui/settings/security_section_widget.dart b/mobile/lib/ui/settings/security_section_widget.dart index 4e51799a1a..f862da4b34 100644 --- a/mobile/lib/ui/settings/security_section_widget.dart +++ b/mobile/lib/ui/settings/security_section_widget.dart @@ -145,6 +145,7 @@ class _SecuritySectionWidgetState extends State { ), trailingIcon: Icons.chevron_right_outlined, trailingIconIsMuted: true, + surfaceExecutionStates: false, onTap: () async { if (await LocalAuthentication().isDeviceSupported()) { final bool result = await requestAuthentication(