fix: qa fixes

This commit is contained in:
Deven Joshi
2020-10-29 15:12:46 +05:30
parent 5087aecff4
commit f858cbf460
3 changed files with 8 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

+6
View File
@@ -301,6 +301,7 @@ class MessageInputState extends State<MessageInput> {
enabled: _inputEnabled, enabled: _inputEnabled,
minLines: null, minLines: null,
maxLines: null, maxLines: null,
expands: true,
onSubmitted: (_) { onSubmitted: (_) {
sendMessage(); sendMessage();
}, },
@@ -513,6 +514,11 @@ class MessageInputState extends State<MessageInput> {
...commands ...commands
.map( .map(
(c) => ListTile( (c) => ListTile(
leading: c.name == 'giphy' ? CircleAvatar(
backgroundColor: Colors.black,
child: Image.asset('images/giphy_icon.png'),
maxRadius: 12.0,
) : null,
title: Text.rich( title: Text.rich(
TextSpan( TextSpan(
text: '${c.name.capitalize()}', text: '${c.name.capitalize()}',
+2
View File
@@ -32,6 +32,8 @@ dependencies:
clipboard: ^0.1.2+8 clipboard: ^0.1.2+8
flutter: flutter:
assets:
- images/giphy_icon.png
fonts: fonts:
- family: stream-icons - family: stream-icons
fonts: fonts: