mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2025-06-28 20:29:53 +00:00
ios: fixed unread counters (#5640)
This commit is contained in:
parent
9d1329498b
commit
ec519afb3f
4 changed files with 27 additions and 66 deletions
|
@ -1513,7 +1513,7 @@ func markChatRead(_ chat: Chat) async {
|
|||
let cInfo = chat.chatInfo
|
||||
try await apiChatRead(type: cInfo.chatType, id: cInfo.apiId)
|
||||
await MainActor.run {
|
||||
withAnimation { ChatModel.shared.markChatItemsRead(cInfo) }
|
||||
withAnimation { ChatModel.shared.markAllChatItemsRead(cInfo) }
|
||||
}
|
||||
}
|
||||
if chat.chatStats.unreadChat {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue