@@ -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(),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -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
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user