[mob][photos] Minor UI changes

This commit is contained in:
ashilkn
2024-07-24 17:52:44 +05:30
parent 87ed684ce9
commit 2be4c7e470
2 changed files with 5 additions and 0 deletions

View File

@@ -215,6 +215,7 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {
captionedTextWidget: CaptionedTextWidget(
title: S.of(context).deviceLock,
),
surfaceExecutionStates: false,
alignCaptionedTextToLeft: true,
isTopBorderRadiusRemoved: false,
isBottomBorderRadiusRemoved: true,
@@ -234,6 +235,7 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {
captionedTextWidget: CaptionedTextWidget(
title: S.of(context).pinLock,
),
surfaceExecutionStates: false,
alignCaptionedTextToLeft: true,
isTopBorderRadiusRemoved: true,
isBottomBorderRadiusRemoved: true,
@@ -251,6 +253,7 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {
captionedTextWidget: CaptionedTextWidget(
title: S.of(context).passwordLock,
),
surfaceExecutionStates: false,
alignCaptionedTextToLeft: true,
isTopBorderRadiusRemoved: true,
isBottomBorderRadiusRemoved: false,
@@ -274,6 +277,7 @@ class _LockScreenOptionsState extends State<LockScreenOptions> {
),
),
),
surfaceExecutionStates: false,
trailingIcon:
Icons.chevron_right_outlined,
trailingIconIsMuted: true,

View File

@@ -145,6 +145,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
),
trailingIcon: Icons.chevron_right_outlined,
trailingIconIsMuted: true,
surfaceExecutionStates: false,
onTap: () async {
if (await LocalAuthentication().isDeviceSupported()) {
final bool result = await requestAuthentication(