Merge branch 'krille/fix-emoji-picker' into 'main'

fix: Emojipicker issues

See merge request famedly/fluffychat!763
This commit is contained in:
Krille Fear 2022-03-03 07:16:06 +00:00
commit 01f20ead3a
2 changed files with 4 additions and 0 deletions

View File

@ -688,6 +688,7 @@ class ChatController extends State<Chat> {
break; break;
case EmojiPickerType.keyboard: case EmojiPickerType.keyboard:
typeEmoji(emoji); typeEmoji(emoji);
onInputBarChanged(sendController.text);
break; break;
} }
} }

View File

@ -155,6 +155,9 @@ class ChatView extends StatelessWidget {
if (controller.selectedEvents.isNotEmpty) { if (controller.selectedEvents.isNotEmpty) {
controller.clearSelectedEvents(); controller.clearSelectedEvents();
redirector.stopRedirection(); redirector.stopRedirection();
} else if (controller.showEmojiPicker) {
controller.emojiPickerAction();
redirector.stopRedirection();
} }
}, },
child: GestureDetector( child: GestureDetector(