Minor ui fixes

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-01-12 19:46:19 +05:30
parent 16bedf8728
commit 80d8c48826
3 changed files with 18 additions and 23 deletions
+2 -4
View File
@@ -164,7 +164,7 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
),
Padding(
padding: EdgeInsets.only(
right: widget.reverse ? 16 : 0,
right: widget.reverse ? 8 : 0,
left: widget.reverse ? 0 : 48,
),
child: SizedBox(
@@ -448,9 +448,7 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
),
],
),
onTap: () {
_showFlagDialog();
},
onTap: () => _showFlagDialog(),
);
}
+8 -5
View File
@@ -1525,11 +1525,14 @@ class MessageInputState extends State<MessageInput> {
return Transform(
transform: Matrix4.rotationY(pi),
alignment: Alignment.center,
child: QuotedMessageWidget(
reverse: true,
showBorder: !containsUrl,
message: widget.quotedMessage,
messageTheme: StreamChatTheme.of(context).otherMessageTheme,
child: Padding(
padding: const EdgeInsets.fromLTRB(8, 8, 8, 0),
child: QuotedMessageWidget(
reverse: true,
showBorder: !containsUrl,
message: widget.quotedMessage,
messageTheme: StreamChatTheme.of(context).otherMessageTheme,
),
),
);
}
+8 -14
View File
@@ -37,27 +37,21 @@ Future<bool> showConfirmationDialog(
return Column(
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(
height: 26.0,
),
SizedBox(height: 26.0),
if (icon != null) icon,
SizedBox(
height: 26.0,
),
SizedBox(height: 26.0),
Text(
title,
style: StreamChatTheme.of(context).textTheme.headlineBold,
),
SizedBox(
height: 7.0,
),
Text(question),
SizedBox(
height: 36.0,
SizedBox(height: 7.0),
Text(
question,
textAlign: TextAlign.center,
),
SizedBox(height: 36.0),
Container(
color:
StreamChatTheme.of(context).colorTheme.black.withOpacity(.08),
color: StreamChatTheme.of(context).colorTheme.greyGainsboro,
height: 1.0,
),
Row(