|
@@ -37,7 +37,7 @@ class NCMainTabBar: UITabBar {
|
|
|
required init?(coder: NSCoder) {
|
|
|
super.init(coder: coder)
|
|
|
|
|
|
- timer = Timer.scheduledTimer(timeInterval: 5, target: self, selector: (#selector(updateBadgeNumber)), userInfo: nil, repeats: true)
|
|
|
+ timer = Timer.scheduledTimer(timeInterval: 3, target: self, selector: (#selector(updateBadgeNumber)), userInfo: nil, repeats: true)
|
|
|
|
|
|
NotificationCenter.default.addObserver(self, selector: #selector(changeTheming), name: NSNotification.Name(rawValue: NCBrandGlobal.shared.notificationCenterChangeTheming), object: nil)
|
|
|
|