Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-02-27 16:52:53 +08:00
parent 889f6d01c2
commit 1d35abef63
5 changed files with 15 additions and 13 deletions

View File

@@ -55,10 +55,10 @@ class ChatItem extends StatelessWidget {
@override
Widget build(BuildContext context) {
final msgType = item.msgType;
final isRevoke = msgType == MsgType.EN_MSG_TYPE_DRAW_BACK.value; // 撤回消息
if (isRevoke) {
return const SizedBox.shrink();
}
// final isRevoke = msgType == MsgType.EN_MSG_TYPE_DRAW_BACK.value; // 撤回消息
// if (isRevoke) {
// return const SizedBox.shrink();
// }
late final ThemeData theme = Theme.of(context);
late final Color textColor = isOwner