π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
refactor: replace showErrorDialog with showAlertBottomSheet for improved error handling in PasskeyPage
AmanRajSinghMourya6a24eab9de0f
diff --git a/mobile/packages/accounts/lib/pages/passkey_page.dart b/mobile/packages/accounts/lib/pages/passkey_page.dartindex f92bddf87e..3372ddfced 100644--- a/mobile/packages/accounts/lib/pages/passkey_page.dart+++ b/mobile/packages/accounts/lib/pages/passkey_page.dart@@ -5,6 +5,7 @@ import 'package:ente_accounts/ente_accounts.dart';import 'package:ente_accounts/models/errors.dart';import 'package:ente_configuration/base_configuration.dart';import 'package:ente_strings/ente_strings.dart';+import 'package:ente_ui/components/alert_bottom_sheet.dart';import 'package:ente_ui/components/buttons/gradient_button.dart';import 'package:ente_ui/theme/ente_theme.dart';import 'package:ente_ui/utils/dialog_util.dart';@@ -70,10 +71,11 @@ class _PasskeyPageState extends State<PasskeyPage> {showToast(context, context.strings.passKeyPendingVerification);return;} on PassKeySessionExpiredError {- await showErrorDialog(+ await showAlertBottomSheet(context,- context.strings.loginSessionExpired,- context.strings.loginSessionExpiredDetails,+ title: context.strings.loginSessionExpired,+ message: context.strings.loginSessionExpiredDetails,+ assetPath: 'assets/warning-grey.png',);Navigator.of(context).pop();return;