Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add Todo comment

ashilkn40ff361af160
diff --git a/mobile/lib/ui/sharing/add_participant_page.dart b/mobile/lib/ui/sharing/add_participant_page.dart
index f0006dac6b..c16931b121 100644
--- a/mobile/lib/ui/sharing/add_participant_page.dart
+++ b/mobile/lib/ui/sharing/add_participant_page.dart
@@ -293,6 +293,10 @@ class _AddParticipantPage extends State<AddParticipantPage> {
labelText: S.of(context).addCollaborators(_selectedEmails.length),
isDisabled: _selectedEmails.isEmpty,
onTap: () async {
+ // TODO: This is not currently designed for best UX for action on
+ // multiple collections and emails, especially if some operations
+ // fail. Can be improved by using a different 'addEmailToCollection'
+ // that accepts list of emails and list of collections.
final results = <bool>[];
final collections = widget.collections;