|
@@ -51,6 +51,11 @@ class NCAccountRequest: UIViewController {
|
|
|
progressView.tintColor = NCBrandColor.shared.brandElement
|
|
|
progressView.trackTintColor = .clear
|
|
|
progressView.progress = 1
|
|
|
+ if enableTimerProgress {
|
|
|
+ progressView.isHidden = false
|
|
|
+ } else {
|
|
|
+ progressView.isHidden = true
|
|
|
+ }
|
|
|
|
|
|
NotificationCenter.default.addObserver(self, selector: #selector(startTimer), name: NSNotification.Name(rawValue: NCGlobal.shared.notificationCenterApplicationDidBecomeActive), object: nil)
|
|
|
NotificationCenter.default.addObserver(self, selector: #selector(changeTheming), name: NSNotification.Name(rawValue: NCGlobal.shared.notificationCenterChangeTheming), object: nil)
|