expose showAttachmentModal

This commit is contained in:
Salvatore Giordano
2020-04-29 14:02:42 +02:00
parent cc876a9b2d
commit 6d45e2d9bb
+2 -2
View File
@@ -604,7 +604,7 @@ class MessageInputState extends State<MessageInput> {
color: Colors.transparent,
child: IconButton(
onPressed: () {
_showAttachmentModal();
showAttachmentModal();
},
icon: Icon(
Icons.add_circle_outline,
@@ -613,7 +613,7 @@ class MessageInputState extends State<MessageInput> {
);
}
void _showAttachmentModal() {
void showAttachmentModal() {
if (_focusNode.hasFocus) {
_focusNode.unfocus();
}