mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 09:28:41 +00:00
fix #291
This commit is contained in:
parent
620d5f51f9
commit
a99f42c5c8
1 changed files with 15 additions and 13 deletions
|
|
@ -40,7 +40,6 @@ class _MessageInputState extends State<MessageInput> {
|
||||||
);
|
);
|
||||||
|
|
||||||
_textFieldController.clear();
|
_textFieldController.clear();
|
||||||
_emojiShowing = false;
|
|
||||||
widget.onMessageSend();
|
widget.onMessageSend();
|
||||||
setState(() {});
|
setState(() {});
|
||||||
}
|
}
|
||||||
|
|
@ -101,18 +100,21 @@ class _MessageInputState extends State<MessageInput> {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
child: Padding(
|
child: ColoredBox(
|
||||||
padding: const EdgeInsets.only(
|
color: Colors.transparent,
|
||||||
top: 8,
|
child: Padding(
|
||||||
bottom: 8,
|
padding: const EdgeInsets.only(
|
||||||
left: 12,
|
top: 8,
|
||||||
right: 8,
|
bottom: 8,
|
||||||
),
|
left: 12,
|
||||||
child: FaIcon(
|
right: 8,
|
||||||
size: 20,
|
),
|
||||||
_emojiShowing
|
child: FaIcon(
|
||||||
? FontAwesomeIcons.keyboard
|
size: 20,
|
||||||
: FontAwesomeIcons.faceSmile,
|
_emojiShowing
|
||||||
|
? FontAwesomeIcons.keyboard
|
||||||
|
: FontAwesomeIcons.faceSmile,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue