Invalidate restart reminder when VPN is running

This commit is contained in:
relikd
2020-07-28 15:19:47 +02:00
parent 9ee094dc20
commit 03177cee0b

View File

@@ -108,6 +108,7 @@ class PacketTunnelProvider: NEPacketTunnelProvider {
private func didInitProxy() {
if PrefsShared.RestartReminder.Enabled {
PushNotification.scheduleRestartReminderBadge(on: false)
PushNotification.cancel(.CantStopMeNowReminder)
}
}