Merge branch 'background-click' into 'main'
Click on background to clear selected events See merge request famedly/fluffychat!631
This commit is contained in:
commit
f543da1575
2 changed files with 159 additions and 141 deletions
|
|
@ -698,6 +698,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