feat: Fixed lightning button
This commit is contained in:
@@ -658,6 +658,9 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
if(_commandsOverlay == null) {
|
if(_commandsOverlay == null) {
|
||||||
_commandsOverlay = _buildCommandsOverlayEntry();
|
_commandsOverlay = _buildCommandsOverlayEntry();
|
||||||
Overlay.of(context).insert(_commandsOverlay);
|
Overlay.of(context).insert(_commandsOverlay);
|
||||||
|
} else {
|
||||||
|
_commandsOverlay?.remove();
|
||||||
|
_commandsOverlay = null;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user