Files
simplex-chat/apps
Narasimha-sc 342e270a1f 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-06-18 15:38:16 +00:00
..
2025-07-08 12:22:57 +01:00