mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-18 14:39:09 +00:00
Use modern notification structure
This commit is contained in:
parent
244337fbbe
commit
02d9d860b3
@ -115,8 +115,10 @@ class ServiceViewController: UIViewController, StrongTableHost {
|
||||
nc.addObserver(self, selector: #selector(applicationDidBecomeActive), name: UIApplication.didBecomeActiveNotification, object: nil)
|
||||
nc.addObserver(self, selector: #selector(vpnDidUpdate), name: .VPNDidChangeStatus, object: nil)
|
||||
nc.addObserver(self, selector: #selector(vpnDidUpdate), name: .VPNDidReinstall, object: nil)
|
||||
nc.addObserver(self, selector: #selector(intentDidUpdateService), name: .IntentDidUpdateService, object: nil)
|
||||
nc.addObserver(self, selector: #selector(serviceDidUpdateDataCount(_:)), name: .ConnectionServiceDidUpdateDataCount, object: nil)
|
||||
if #available(iOS 13, *) {
|
||||
nc.addObserver(self, selector: #selector(intentDidUpdateService), name: IntentDispatcher.didUpdateService, object: nil)
|
||||
}
|
||||
nc.addObserver(self, selector: #selector(serviceDidUpdateDataCount(_:)), name: ConnectionService.didUpdateDataCount, object: nil)
|
||||
nc.addObserver(self, selector: #selector(productManagerDidReloadReceipt), name: ProductManager.didReloadReceipt, object: nil)
|
||||
|
||||
// run this no matter what
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 67cfae0e6dbef894d2bf7de667bc6d2575a6f75c
|
||||
Subproject commit 5fa0eba192f74dad1a6a898ccdc977b6f740063b
|
Loading…
Reference in New Issue
Block a user