π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Merge branch 'main' into lockscreen
AmanRajSinghMourya620c34bad0de
diff --cc mobile/packages/lock_screen/lib/local_authentication_service.dartindex 84e57a8436,6e91f3eb4c..3481861fc8--- a/mobile/packages/lock_screen/lib/local_authentication_service.dart+++ b/mobile/packages/lock_screen/lib/local_authentication_service.dart@@@ -181,14 -195,10 +195,16 @@@ class LocalAuthenticationService}}} else {- // ignore: unawaited_futures- showErrorBottomSheetComponent(- context: context,- title: errorDialogTitle.isEmpty- ? context.strings.error- : errorDialogTitle,- message: errorDialogContent,- );+ if (context.mounted) {+ // ignore: unawaited_futures- showErrorDialog(context, errorDialogTitle, errorDialogContent);++ showErrorBottomSheetComponent(++ context: context,++ title: errorDialogTitle.isEmpty++ ? context.strings.error++ : errorDialogTitle,++ message: errorDialogContent,++ );+ }}return false;}diff --cc mobile/packages/lock_screen/lib/ui/lock_screen_options.dartindex 485868a519,7b5c7ab1cc..03138e7df9--- a/mobile/packages/lock_screen/lib/ui/lock_screen_options.dart+++ b/mobile/packages/lock_screen/lib/ui/lock_screen_options.dart@@@ -66,13 -81,21 +71,15 @@@ class _LockScreenOptionsState extends Sawait _initializeSettings();return;}- await showBottomSheetComponent(- context: context,- builder: (_) => BottomSheetComponent(- title: context.strings.noSystemLockFound,- message: context.strings.deviceLockEnablePreSteps,- ),- );+ if (mounted) {- await showDialogWidget(++ await showBottomSheetComponent(+ context: context,- title: context.strings.noSystemLockFound,- body: context.strings.deviceLockEnablePreSteps,- isDismissible: true,- buttons: [- ButtonWidget(- buttonType: ButtonType.secondary,- labelText: context.strings.ok,- isInAlert: true,- ),- ],++ builder: (_) => BottomSheetComponent(++ title: context.strings.noSystemLockFound,++ message: context.strings.deviceLockEnablePreSteps,++ ),+ );+ }}await _initializeSettings();}