π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Move user_dialog to package
AmanRajSinghMouryac51dff5a29ba
diff --git a/mobile/apps/locker/lib/ui/components/user_dialogs.dart b/mobile/packages/ui/lib/components/user_dialogs.dartsimilarity index 74%rename from mobile/apps/locker/lib/ui/components/user_dialogs.dartrename to mobile/packages/ui/lib/components/user_dialogs.dartindex 206a30fa70..1a033e5fb9 100644--- a/mobile/apps/locker/lib/ui/components/user_dialogs.dart+++ b/mobile/packages/ui/lib/components/user_dialogs.dart@@ -1,28 +1,29 @@import "dart:async";+import "package:ente_strings/ente_strings.dart";import "package:ente_ui/components/buttons/button_widget.dart";import "package:ente_ui/components/buttons/models/button_type.dart";import "package:ente_ui/components/dialog_widget.dart";import "package:ente_utils/share_utils.dart";import "package:flutter/material.dart";-import "package:locker/l10n/l10n.dart";+Future<void> showInviteDialog(BuildContext context, String email) async {await showDialogWidget(context: context,- title: context.l10n.inviteToEnte,+ title: context.strings.inviteToEnte,icon: Icons.info_outline,- body: context.l10n.emailNoEnteAccount(email),+ body: context.strings.emailNoEnteAccount(email),isDismissible: true,buttons: [ButtonWidget(buttonType: ButtonType.neutral,icon: Icons.adaptive.share,- labelText: context.l10n.sendInvite,+ labelText: context.strings.sendInvite,isInAlert: true,onTap: () async {unawaited(shareText(- context.l10n.shareTextRecommendUsingEnte,+ context.strings.shareTextRecommendUsingEnte,),);},