Invalidate restart reminder when VPN is running
This commit is contained in:
@@ -108,6 +108,7 @@ class PacketTunnelProvider: NEPacketTunnelProvider {
|
||||
private func didInitProxy() {
|
||||
if PrefsShared.RestartReminder.Enabled {
|
||||
PushNotification.scheduleRestartReminderBadge(on: false)
|
||||
PushNotification.cancel(.CantStopMeNowReminder)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user