fix: qa fixes
This commit is contained in:
@@ -354,7 +354,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
autofocus: false,
|
autofocus: false,
|
||||||
textAlignVertical: TextAlignVertical.center,
|
textAlignVertical: TextAlignVertical.center,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
hintText: 'Write a message',
|
hintText: (_commandEnabled && _chosenCommand.name == 'giphy') ? 'Search GIFs' :'Write a message',
|
||||||
prefixText: _commandEnabled ? null : ' ',
|
prefixText: _commandEnabled ? null : ' ',
|
||||||
border: OutlineInputBorder(
|
border: OutlineInputBorder(
|
||||||
borderSide: BorderSide(color: Colors.transparent)),
|
borderSide: BorderSide(color: Colors.transparent)),
|
||||||
@@ -461,6 +461,9 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Card(
|
child: Card(
|
||||||
elevation: 2.0,
|
elevation: 2.0,
|
||||||
|
shape: RoundedRectangleBorder(
|
||||||
|
borderRadius: BorderRadius.circular(8.0),
|
||||||
|
),
|
||||||
color: StreamChatTheme.of(context).primaryColor,
|
color: StreamChatTheme.of(context).primaryColor,
|
||||||
clipBehavior: Clip.antiAlias,
|
clipBehavior: Clip.antiAlias,
|
||||||
child: Container(
|
child: Container(
|
||||||
@@ -519,7 +522,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
size: 12.5,
|
size: 12.5,
|
||||||
),
|
),
|
||||||
maxRadius: 15,
|
maxRadius: 12,
|
||||||
),
|
),
|
||||||
//subtitle: Text(c.description),
|
//subtitle: Text(c.description),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
@@ -776,7 +779,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.only(
|
padding: const EdgeInsets.only(
|
||||||
left: 4.0, right: 8.0, top: 8.0, bottom: 8.0),
|
left: 4.0, right: 8.0, top: 8.0, bottom: 8.0),
|
||||||
child: Icon(StreamIcons.lightning),
|
child: Icon(StreamIcons.lightning, color: Color(0xFF000000).withAlpha(128),),
|
||||||
),
|
),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
if (_commandsOverlay == null) {
|
if (_commandsOverlay == null) {
|
||||||
@@ -798,7 +801,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
child: Padding(
|
child: Padding(
|
||||||
padding: EdgeInsets.only(
|
padding: EdgeInsets.only(
|
||||||
left: 8.0, right: padding, top: 8.0, bottom: 8.0),
|
left: 8.0, right: padding, top: 8.0, bottom: 8.0),
|
||||||
child: Icon(StreamIcons.attach),
|
child: Icon(StreamIcons.attach, color: Color(0xFF000000).withAlpha(128),),
|
||||||
),
|
),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
showAttachmentModal();
|
showAttachmentModal();
|
||||||
|
|||||||
Reference in New Issue
Block a user