fix: improve image caching reliability by clearing cache on startup and forcing widget rebuilds on tab switches
This commit is contained in:
@@ -135,9 +135,9 @@ class Conversation {
|
||||
createdAt: json['createdAt'] as String,
|
||||
updatedAt: json['updatedAt'] as String,
|
||||
otherParty:
|
||||
OtherParty.fromJson(json['otherParty'] as Map<String, dynamic>),
|
||||
OtherParty.fromJson(MessageSender._safeMap(json['otherParty'])),
|
||||
messages: (json['messages'] as List<dynamic>?)
|
||||
?.map((e) => ChatMessage.fromJson(e as Map<String, dynamic>))
|
||||
?.map((e) => ChatMessage.fromJson(MessageSender._safeMap(e)))
|
||||
.toList(),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user