From f96945134c6a1128d2c961dc01afc33f93cfdee4 Mon Sep 17 00:00:00 2001 From: Bug Magnet Date: Fri, 26 Apr 2024 16:01:33 +0200 Subject: [PATCH] Remove dead code --- ios/MullvadVPN/TunnelManager/TunnelManager.swift | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ios/MullvadVPN/TunnelManager/TunnelManager.swift b/ios/MullvadVPN/TunnelManager/TunnelManager.swift index cc4ce36da6c6..fe989a790cd5 100644 --- a/ios/MullvadVPN/TunnelManager/TunnelManager.swift +++ b/ios/MullvadVPN/TunnelManager/TunnelManager.swift @@ -1045,16 +1045,6 @@ final class TunnelManager: StorePaymentObserver { isPolling = false } - private func cancelPollingKeyRotation() { - guard isRunningPeriodicPrivateKeyRotation else { return } - - logger.debug("Cancel key rotation polling.") - - privateKeyRotationTimer?.cancel() - privateKeyRotationTimer = nil - isRunningPeriodicPrivateKeyRotation = false - } - fileprivate func removeLastUsedAccount() { do { try SettingsManager.setLastUsedAccount(nil)