浏览代码

Update copy

Neeraj Gupta 2 年之前
父节点
当前提交
31cd07845e

+ 1 - 2
lib/ui/actions/collection/collection_sharing_actions.dart

@@ -67,8 +67,7 @@ class CollectionSharingActions {
       context,
       context,
       "Remove?",
       "Remove?",
       "${user.email} will be removed "
       "${user.email} will be removed "
-          "from this shared album.\n\nAny photos added by them will be "
-          "removed.",
+          "from this shared album.\n\nAny photos and videos added by them will also be removed from the album.",
       firstAction: "Yes, remove",
       firstAction: "Yes, remove",
       secondAction: "Cancel",
       secondAction: "Cancel",
       secondActionColor: getEnteColorScheme(context).strokeBase,
       secondActionColor: getEnteColorScheme(context).strokeBase,

+ 2 - 1
lib/ui/sharing/manage_album_participant.dart

@@ -116,7 +116,8 @@ class _ManageIndividualParticipantState
                   widget.collection,
                   widget.collection,
                   widget.user,
                   widget.user,
                 );
                 );
-                if (result && mounted) {
+
+                if ((result ?? false) && mounted) {
                   Navigator.of(context).pop(true);
                   Navigator.of(context).pop(true);
                 }
                 }
               },
               },