π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[locker]Handle rollout limit err
Neeraj Guptac6f7af305428
diff --git a/mobile/apps/locker/lib/ui/pages/login_page.dart b/mobile/apps/locker/lib/ui/pages/login_page.dartindex 28cdc13fcd..ea6da85535 100644--- a/mobile/apps/locker/lib/ui/pages/login_page.dart+++ b/mobile/apps/locker/lib/ui/pages/login_page.dart@@ -150,6 +150,13 @@ class _LoginPageState extends State<LoginPage> {context.l10n.oops,context.l10n.unlockLockerPaidPlanBody,);+ } else if (enteErrCode != null &&+ enteErrCode == 'LOCKER_ROLLOUT_LIMIT') {+ await showErrorDialog(+ context,+ "We're out of beta seats for now",+ "This preview access has reached capacity. We'll be opening it to more users soon.",+ );} else {await showErrorDialog(context,diff --git a/mobile/packages/accounts/lib/services/user_service.dart b/mobile/packages/accounts/lib/services/user_service.dartindex 0fe6cbd297..7b287622ec 100644--- a/mobile/packages/accounts/lib/services/user_service.dart+++ b/mobile/packages/accounts/lib/services/user_service.dart@@ -148,6 +148,14 @@ class UserService {"Registration is temporarily paused",),);+ } else if (enteErrCode != null && enteErrCode == "LOCKER_ROLLOUT_LIMIT") {+ unawaited(+ showErrorDialog(+ context,+ "We're out of beta seats for now",+ "This preview access has reached capacity. We'll be opening it to more users soon.",+ ),+ );} else if (e.response != null && e.response!.statusCode == 403) {unawaited(showErrorDialog(