diff --git a/Monal/Classes/CreateGroupMenu.swift b/Monal/Classes/CreateGroupMenu.swift index 783f4a3cee..fe7ca3e47b 100644 --- a/Monal/Classes/CreateGroupMenu.swift +++ b/Monal/Classes/CreateGroupMenu.swift @@ -93,7 +93,9 @@ struct CreateGroupMenu: View { Section(header: Text("Selected Group Members")) { ForEach(self.selectedContacts, id: \.self) { contact in ContactEntry(contact: contact) - } + }.onDelete(perform: { indexSet in + self.selectedContacts.remove(atOffsets: indexSet) + }) } Section { Button(action: {