From 10e19ffae2780c5d7f95c27a00f9d151b4097a8c Mon Sep 17 00:00:00 2001 From: Aman Raj Singh Mourya Date: Thu, 25 Jul 2024 13:22:06 +0530 Subject: [PATCH] [mob][auth] Minor UI changes --- auth/lib/ui/settings/lock_screen/lock_screen_options.dart | 4 ++++ auth/lib/ui/settings/security_section_widget.dart | 1 + 2 files changed, 5 insertions(+) diff --git a/auth/lib/ui/settings/lock_screen/lock_screen_options.dart b/auth/lib/ui/settings/lock_screen/lock_screen_options.dart index 614917e5d1..e0e71cc03f 100644 --- a/auth/lib/ui/settings/lock_screen/lock_screen_options.dart +++ b/auth/lib/ui/settings/lock_screen/lock_screen_options.dart @@ -217,6 +217,7 @@ class _LockScreenOptionsState extends State { captionedTextWidget: CaptionedTextWidget( title: context.l10n.deviceLock, ), + surfaceExecutionStates: false, alignCaptionedTextToLeft: true, isTopBorderRadiusRemoved: false, isBottomBorderRadiusRemoved: true, @@ -236,6 +237,7 @@ class _LockScreenOptionsState extends State { captionedTextWidget: CaptionedTextWidget( title: context.l10n.pinLock, ), + surfaceExecutionStates: false, alignCaptionedTextToLeft: true, isTopBorderRadiusRemoved: true, isBottomBorderRadiusRemoved: true, @@ -253,6 +255,7 @@ class _LockScreenOptionsState extends State { captionedTextWidget: CaptionedTextWidget( title: context.l10n.password, ), + surfaceExecutionStates: false, alignCaptionedTextToLeft: true, isTopBorderRadiusRemoved: true, isBottomBorderRadiusRemoved: false, @@ -276,6 +279,7 @@ class _LockScreenOptionsState extends State { ), ), ), + surfaceExecutionStates: false, alignCaptionedTextToLeft: true, singleBorderRadius: 8, menuItemColor: colorTheme.fillFaint, diff --git a/auth/lib/ui/settings/security_section_widget.dart b/auth/lib/ui/settings/security_section_widget.dart index b98c59d7d8..348c6304a5 100644 --- a/auth/lib/ui/settings/security_section_widget.dart +++ b/auth/lib/ui/settings/security_section_widget.dart @@ -140,6 +140,7 @@ class _SecuritySectionWidgetState extends State { captionedTextWidget: CaptionedTextWidget( title: context.l10n.appLock, ), + surfaceExecutionStates: false, trailingIcon: Icons.chevron_right_outlined, trailingIconIsMuted: true, onTap: () async {