ios: fix notification badge count (#903)

This commit is contained in:
Evgeny Poberezkin
2022-08-04 22:25:52 +01:00
committed by GitHub
parent afbc7dd2c1
commit e8749debec
3 changed files with 12 additions and 3 deletions

View File

@@ -58,6 +58,7 @@ struct SimpleXApp: App {
enteredBackground = ProcessInfo.processInfo.systemUptime
}
doAuthenticate = false
NtfManager.shared.setNtfBadgeCount(chatModel.totalUnreadCount())
case .active:
if chatModel.chatRunning == true {
ChatReceiver.shared.start()