Report reviewer event on successful connection

This commit is contained in:
Davide De Rosa 2018-12-10 12:42:50 +01:00
parent 76c50e637d
commit d2186678de
1 changed files with 4 additions and 0 deletions

View File

@ -395,6 +395,10 @@ class ServiceViewController: UIViewController, TableModelHost {
@objc private func vpnDidUpdate() { @objc private func vpnDidUpdate() {
reloadVpnStatus() reloadVpnStatus()
if vpn.status == .connected {
Reviewer.shared.reportEvent()
}
} }
@objc private func applicationDidBecomeActive() { @objc private func applicationDidBecomeActive() {