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();
|
||||
_emojiShowing = false;
|
||||
widget.onMessageSend();
|
||||
setState(() {});
|
||||
}
|
||||
|
|
@ -101,18 +100,21 @@ class _MessageInputState extends State<MessageInput> {
|
|||
}
|
||||
});
|
||||
},
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
top: 8,
|
||||
bottom: 8,
|
||||
left: 12,
|
||||
right: 8,
|
||||
),
|
||||
child: FaIcon(
|
||||
size: 20,
|
||||
_emojiShowing
|
||||
? FontAwesomeIcons.keyboard
|
||||
: FontAwesomeIcons.faceSmile,
|
||||
child: ColoredBox(
|
||||
color: Colors.transparent,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
top: 8,
|
||||
bottom: 8,
|
||||
left: 12,
|
||||
right: 8,
|
||||
),
|
||||
child: FaIcon(
|
||||
size: 20,
|
||||
_emojiShowing
|
||||
? FontAwesomeIcons.keyboard
|
||||
: FontAwesomeIcons.faceSmile,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue