Files
simplex-chat/apps
Narasimha-sc 780e1d4965 ios: clamp removeChatItem unread decrement to match Android (avoid negative badge drift)
removeChatItem decremented the unread counter unconditionally for an RcvNew item. iOS, unlike
Android's self-clamping decreaseCounterInPrimaryContext, could drive the badge negative if the item
entered the list via upsertChatItem's addChat path (no increment) and was then deleted unread. Only
decrement when the chat's unreadCount > 0.
2026-07-20 13:31:05 +00:00
..