hide overlay if there is no match

This commit is contained in:
Salvatore Giordano
2020-11-05 16:05:39 +01:00
parent 4bb5598c71
commit 3a5ae9af01
+4
View File
@@ -682,6 +682,10 @@ class MessageInputState extends State<MessageInput> {
.where((e) => e != null)
.toList();
if (emojis.isEmpty) {
return null;
}
RenderBox renderBox = context.findRenderObject();
final size = renderBox.size;