mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-10 21:37:09 +00:00
ios: fixed unread counters (#5640)
This commit is contained in:
committed by
GitHub
parent
9d1329498b
commit
ec519afb3f
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user