From a6387679f1055e05bffb9fac76b75fe58b8e9b61 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Sat, 30 Mar 2019 23:35:50 +0100 Subject: [PATCH] Update data count as soon as tunnel is up Zero is better than nil. --- TunnelKit/Sources/AppExtension/TunnelKitProvider.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/TunnelKit/Sources/AppExtension/TunnelKitProvider.swift b/TunnelKit/Sources/AppExtension/TunnelKitProvider.swift index 60e1b29..2acd404 100644 --- a/TunnelKit/Sources/AppExtension/TunnelKitProvider.swift +++ b/TunnelKit/Sources/AppExtension/TunnelKitProvider.swift @@ -484,6 +484,7 @@ extension TunnelKitProvider: SessionProxyDelegate { } isCountingData = true + refreshDataCount() } /// :nodoc: