Commit 46bbab98 authored by Jose Blaya's avatar Jose Blaya

Removes the sticky note when the VPN connected event is raised

parent 3fff62bd
......@@ -476,6 +476,7 @@ class DashboardViewController: AutolayoutViewController {
setNeedsStatusBarAppearanceUpdate()
AppPreferences.shared.todayWidgetVpnStatus = VPNStatus.connected.rawValue
AppPreferences.shared.todayWidgetButtonTitle = L10n.Shortcuts.disconnect
Macros.removeStickyNote()
case .disconnected:
toggleConnection.isOn = false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment