π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Minor changes
AmanRajSinghMourya5dae746aa015
diff --git a/mobile/apps/locker/lib/l10n/app_localizations.dart b/mobile/apps/locker/lib/l10n/app_localizations.dartindex 5dc30f5f22..176d487287 100644--- a/mobile/apps/locker/lib/l10n/app_localizations.dart+++ b/mobile/apps/locker/lib/l10n/app_localizations.dart@@ -2581,7 +2581,7 @@ abstract class AppLocalizations {/// No description provided for @noSharedUsers.////// In en, this message translates to:- /// **'No shared users yet'**+ /// **'Not shared with anyone yet. Share this collection by adding someone\'s email below.'**String get noSharedUsers;/// No description provided for @removeAccess.diff --git a/mobile/apps/locker/lib/l10n/app_localizations_en.dart b/mobile/apps/locker/lib/l10n/app_localizations_en.dartindex d07354003d..52315e4e15 100644--- a/mobile/apps/locker/lib/l10n/app_localizations_en.dart+++ b/mobile/apps/locker/lib/l10n/app_localizations_en.dart@@ -1497,7 +1497,8 @@ class AppLocalizationsEn extends AppLocalizations {String get addNewEmail => 'Add new email';@override- String get noSharedUsers => 'No shared users yet';+ String get noSharedUsers =>+ 'Not shared with anyone yet. Share this collection by adding someone\'s email below.';@overrideString get removeAccess => 'Remove access';diff --git a/mobile/apps/locker/lib/ui/components/collection_list_widget.dart b/mobile/apps/locker/lib/ui/components/collection_list_widget.dartindex 63c0d3618d..3c15573ac1 100644--- a/mobile/apps/locker/lib/ui/components/collection_list_widget.dart+++ b/mobile/apps/locker/lib/ui/components/collection_list_widget.dart@@ -179,15 +179,30 @@ class CollectionListWidget extends StatelessWidget {iconButtonType: IconButtonType.secondary,iconColor: colorScheme.primary700,)- : hasSharees- ? Padding(- key: const ValueKey("sharees"),- padding: const EdgeInsets.only(right: 12.0),- child: _buildShareesAvatars(- collection.sharees- .whereType<User>()- .toList(),- ),+ : showSharingIndicator+ ? Row(+ key: const ValueKey("shared"),+ mainAxisSize: MainAxisSize.min,+ children: [+ if (hasSharees)+ _buildShareesAvatars(+ collection.sharees+ .whereType<User>()+ .toList(),+ ),+ CollectionPopupMenuWidget(+ collection: collection,+ overflowActions: overflowActions,+ child: Padding(+ padding: const EdgeInsets.all(12.0),+ child: HugeIcon(+ icon: HugeIcons+ .strokeRoundedMoreVertical,+ color: colorScheme.textBase,+ ),+ ),+ ),+ ],): CollectionPopupMenuWidget(key: const ValueKey("menu"),diff --git a/mobile/apps/locker/lib/utils/collection_actions.dart b/mobile/apps/locker/lib/utils/collection_actions.dartindex 3580abbacb..6783bb69f7 100644--- a/mobile/apps/locker/lib/utils/collection_actions.dart+++ b/mobile/apps/locker/lib/utils/collection_actions.dart@@ -349,7 +349,6 @@ class CollectionActions {await CollectionApiClient.instance.leaveCollection(collection);if (context.mounted) {onSuccess?.call();- Navigator.of(context).pop();showToast(context,"Leave collection successfully",