From cdd32e7002926cd59f4980c33d56eee4274af8bd Mon Sep 17 00:00:00 2001 From: Krille Date: Wed, 26 Jun 2024 14:46:51 +0200 Subject: [PATCH] chore: Update last event after decryption --- lib/pages/chat_list/chat_list_item.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pages/chat_list/chat_list_item.dart b/lib/pages/chat_list/chat_list_item.dart index 965c7391..4ac02e62 100644 --- a/lib/pages/chat_list/chat_list_item.dart +++ b/lib/pages/chat_list/chat_list_item.dart @@ -232,7 +232,9 @@ class ChatListItem extends StatelessWidget { softWrap: false, ) : FutureBuilder( - key: ValueKey(lastEvent?.eventId), + key: ValueKey( + '${lastEvent?.eventId}_${lastEvent?.type}', + ), future: needLastEventSender ? lastEvent.calcLocalizedBody( MatrixLocals(L10n.of(context)!),