change: Click on background to clear selected events
This commit is contained in:
parent
88061587e3
commit
78fd5d5192
2 changed files with 159 additions and 141 deletions
|
|
@ -682,6 +682,12 @@ class ChatController extends State<Chat> {
|
|||
showEmojiPicker = false;
|
||||
});
|
||||
|
||||
void clearSingleSelectedEvent() {
|
||||
if (selectedEvents.length <= 1) {
|
||||
clearSelectedEvents();
|
||||
}
|
||||
}
|
||||
|
||||
void editSelectedEventAction() {
|
||||
final client = currentRoomBundle.firstWhere(
|
||||
(cl) => selectedEvents.first.senderId == cl.userID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue