Neeraj Gupta před 2 roky
rodič
revize
31cd07845e

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

@@ -67,8 +67,7 @@ class CollectionSharingActions {
       context,
       "Remove?",
       "${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",
       secondAction: "Cancel",
       secondActionColor: getEnteColorScheme(context).strokeBase,

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

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