mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-08-04 06:52:59 +10:00
formatting
This commit is contained in:
@@ -347,10 +347,12 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
|
|||||||
? Padding(
|
? Padding(
|
||||||
padding: const EdgeInsets.only(bottom: 2),
|
padding: const EdgeInsets.only(bottom: 2),
|
||||||
child: MessageStatusIcon(
|
child: MessageStatusIcon(
|
||||||
isAcked: message.status ==
|
isAcked:
|
||||||
|
message.status ==
|
||||||
ChannelMessageStatus.sent &&
|
ChannelMessageStatus.sent &&
|
||||||
displayPath.isNotEmpty,
|
displayPath.isNotEmpty,
|
||||||
isFailed: message.status ==
|
isFailed:
|
||||||
|
message.status ==
|
||||||
ChannelMessageStatus.failed,
|
ChannelMessageStatus.failed,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -783,10 +785,7 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (trailing != null) ...[
|
if (trailing != null) ...[const SizedBox(width: 4), trailing],
|
||||||
const SizedBox(width: 4),
|
|
||||||
trailing,
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1263,10 +1263,12 @@ class _MessageBubble extends StatelessWidget {
|
|||||||
? Padding(
|
? Padding(
|
||||||
padding: const EdgeInsets.only(bottom: 2),
|
padding: const EdgeInsets.only(bottom: 2),
|
||||||
child: MessageStatusIcon(
|
child: MessageStatusIcon(
|
||||||
isAcked: message.status ==
|
isAcked:
|
||||||
|
message.status ==
|
||||||
MessageStatus.delivered &&
|
MessageStatus.delivered &&
|
||||||
message.pathBytes.isNotEmpty,
|
message.pathBytes.isNotEmpty,
|
||||||
isFailed: message.status ==
|
isFailed:
|
||||||
|
message.status ==
|
||||||
MessageStatus.failed,
|
MessageStatus.failed,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1502,10 +1504,7 @@ class _MessageBubble extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (trailing != null) ...[
|
if (trailing != null) ...[const SizedBox(width: 4), trailing],
|
||||||
const SizedBox(width: 4),
|
|
||||||
trailing,
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user