feat: Fixed lightning button

This commit is contained in:
Deven Joshi
2020-10-19 18:20:27 +05:30
parent 8a51fdf531
commit 4dd6cc7f17
+3
View File
@@ -658,6 +658,9 @@ class MessageInputState extends State<MessageInput> {
if(_commandsOverlay == null) {
_commandsOverlay = _buildCommandsOverlayEntry();
Overlay.of(context).insert(_commandsOverlay);
} else {
_commandsOverlay?.remove();
_commandsOverlay = null;
}
},
),