mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-01-19 06:49:08 +00:00
macOS: Ensure status is up-to-date on startup
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
812e660491
commit
c36a9e4ffd
@ -10,8 +10,16 @@ import Cocoa
|
|||||||
|
|
||||||
class TunnelsTracker {
|
class TunnelsTracker {
|
||||||
|
|
||||||
weak var statusMenu: StatusMenu?
|
weak var statusMenu: StatusMenu? {
|
||||||
weak var statusItemController: StatusItemController?
|
didSet {
|
||||||
|
statusMenu?.currentTunnel = currentTunnel
|
||||||
|
}
|
||||||
|
}
|
||||||
|
weak var statusItemController: StatusItemController? {
|
||||||
|
didSet {
|
||||||
|
statusItemController?.currentTunnel = currentTunnel
|
||||||
|
}
|
||||||
|
}
|
||||||
weak var manageTunnelsRootVC: ManageTunnelsRootViewController?
|
weak var manageTunnelsRootVC: ManageTunnelsRootViewController?
|
||||||
|
|
||||||
private var tunnelsManager: TunnelsManager
|
private var tunnelsManager: TunnelsManager
|
||||||
|
Loading…
Reference in New Issue
Block a user