fix: keyboard fix

This commit is contained in:
Deven Joshi
2020-12-11 13:04:12 +05:30
parent 54cb49eac1
commit 5302b16115
+7 -4
View File
@@ -326,14 +326,17 @@ class MessageInputState extends State<MessageInput> {
return AnimatedCrossFade( return AnimatedCrossFade(
crossFadeState: crossFadeState:
_actionsShrunk ? CrossFadeState.showFirst : CrossFadeState.showSecond, _actionsShrunk ? CrossFadeState.showFirst : CrossFadeState.showSecond,
firstChild: IconButton( firstChild: InkWell(
onPressed: () { onTap: () {
setState(() { setState(() {
_actionsShrunk = false; _actionsShrunk = false;
}); });
}, },
icon: StreamSvgIcon.emptyCircleLeft( child: Padding(
color: StreamChatTheme.of(context).accentColor, padding: const EdgeInsets.all(8.0) + EdgeInsets.only(bottom: 3.0),
child: StreamSvgIcon.emptyCircleLeft(
color: StreamChatTheme.of(context).accentColor,
),
), ),
), ),
secondChild: Row( secondChild: Row(