mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-20 06:42:05 +00:00
Donate enable+disable on VPN on/off
This commit is contained in:
parent
ab500cccb0
commit
c8be5d0de6
@ -244,10 +244,6 @@ class ServiceViewController: UIViewController, TableModelHost {
|
||||
self.reloadModel()
|
||||
self.tableView.reloadData()
|
||||
}
|
||||
|
||||
if #available(iOS 12, *) {
|
||||
InteractionsHandler.donateDisableVPN()
|
||||
}
|
||||
} else {
|
||||
vpn.disconnect { (error) in
|
||||
self.reloadModel()
|
||||
@ -256,7 +252,8 @@ class ServiceViewController: UIViewController, TableModelHost {
|
||||
}
|
||||
|
||||
if #available(iOS 12, *) {
|
||||
InteractionsHandler.donateConnection(with: uncheckedProfile)
|
||||
InteractionsHandler.donateEnableVPN()
|
||||
InteractionsHandler.donateDisableVPN()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user