π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Copy changes
Neeraj Guptada89c025052a
diff --git a/mobile/lib/emergency/other_contact_page.dart b/mobile/lib/emergency/other_contact_page.dartindex 7e6344452e..b5be0f20e0 100644--- a/mobile/lib/emergency/other_contact_page.dart+++ b/mobile/lib/emergency/other_contact_page.dart@@ -173,13 +173,17 @@ class _OtherContactPageState extends State<OtherContactPage> {buttonType: ButtonType.primary,labelText: context.l10n.recoverAccount,onTap: () async {- final (String key, KeyAttributes attributes) =- await EmergencyContactService.instance- .getRecoveryInfo(recoverySession!);- routeToPage(- context,- RecoverOthersAccount(key, attributes, recoverySession!),- ).ignore();+ try {+ final (String key, KeyAttributes attributes) =+ await EmergencyContactService.instance+ .getRecoveryInfo(recoverySession!);+ routeToPage(+ context,+ RecoverOthersAccount(key, attributes, recoverySession!),+ ).ignore();+ } catch (e) {+ showGenericErrorDialog(context: context, error: e).ignore();+ }},),if (recoverySession != null && recoverySession!.status == "WAITING")diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dartindex 226b70dcdc..b6001f1464 100644--- a/mobile/lib/generated/intl/messages_en.dart+++ b/mobile/lib/generated/intl/messages_en.dart@@ -158,7 +158,7 @@ class MessageLookup extends MessageLookupByLibrary {static String m52(storeName) => "Rate us on ${storeName}";static String m83(days, email) =>- "You can access the account after ${days} days. You can access the account after 30 days. A notification will be sent to ${email}.";+ "You can access the account after ${days} days. A notification will be sent to ${email}.";static String m53(storageInGB) =>"3. Both of you get ${storageInGB} GB* free";diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dartindex fc7a1af081..5442d1fa87 100644--- a/mobile/lib/generated/l10n.dart+++ b/mobile/lib/generated/l10n.dart@@ -10639,10 +10639,10 @@ class S {);}- /// `You can access the account after {days} days. You can access the account after 30 days. A notification will be sent to {email}.`+ /// `You can access the account after {days} days. A notification will be sent to {email}.`String recoveryInitiatedDesc(int days, String email) {return Intl.message(- 'You can access the account after $days days. You can access the account after 30 days. A notification will be sent to $email.',+ 'You can access the account after $days days. A notification will be sent to $email.',name: 'recoveryInitiatedDesc',desc: '',args: [days, email],diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arbindex 3bda3a4f43..42ee235a4f 100644--- a/mobile/lib/l10n/intl_en.arb+++ b/mobile/lib/l10n/intl_en.arb@@ -1530,7 +1530,7 @@"recoveryWarning": "A trusted contact is trying to access your account","rejectRecovery": "Reject recovery","recoveryInitiated": "Recovery initiated",- "recoveryInitiatedDesc": "You can access the account after {days} days. You can access the account after 30 days. A notification will be sent to {email}.",+ "recoveryInitiatedDesc": "You can access the account after {days} days. A notification will be sent to {email}.","@recoveryInitiatedDesc": {"placeholders": {"days": {