Explorar el Código

update badge counter on account switch

cyberta hace 4 años
padre
commit
98cd624132
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      deltachat-ios/Helper/NotificationManager.swift

+ 1 - 0
deltachat-ios/Helper/NotificationManager.swift

@@ -21,6 +21,7 @@ public class NotificationManager {
     public func reloadDcContext() {
         NotificationManager.removeAllNotifications()
         dcContext = dcAccounts.getSelected()
+        NotificationManager.updateApplicationIconBadge(dcContext: dcContext, reset: false)
     }
 
     public static func updateApplicationIconBadge(dcContext: DcContext, reset: Bool) {