summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2022-03-22 14:40:57 +0100
committerAndrej Mihajlov <and@mullvad.net>2022-03-24 14:02:45 +0100
commit884feca5e64cb5022fde33b5c76b63eb91321d2d (patch)
treee90085c69b58516dedf34f1721386b0f7dd22d6f /ios
parent7993b5a30394d4c87b48087f58538d36b916c987 (diff)
downloadmullvadvpn-884feca5e64cb5022fde33b5c76b63eb91321d2d.tar.xz
mullvadvpn-884feca5e64cb5022fde33b5c76b63eb91321d2d.zip
Main: minor refactor
Diffstat (limited to 'ios')
-rw-r--r--ios/MullvadVPN/ConnectViewController.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/MullvadVPN/ConnectViewController.swift b/ios/MullvadVPN/ConnectViewController.swift
index 68ff3cfcec..bd2f020cbf 100644
--- a/ios/MullvadVPN/ConnectViewController.swift
+++ b/ios/MullvadVPN/ConnectViewController.swift
@@ -63,7 +63,7 @@ class ConnectViewController: UIViewController, MKMapViewDelegate, RootContainmen
private var tunnelState: TunnelState = .disconnected {
didSet {
setNeedsHeaderBarStyleAppearanceUpdate()
- updateTunnelConnectionInfo()
+ updateTunnelRelay()
updateUserInterfaceForTunnelStateChange()
// Avoid unnecessary animations, particularly when this property is changed from inside
@@ -216,7 +216,7 @@ class ConnectViewController: UIViewController, MKMapViewDelegate, RootContainmen
.paragraphStyle: paragraphStyle])
}
- private func updateTunnelConnectionInfo() {
+ private func updateTunnelRelay() {
switch tunnelState {
case .connecting(let tunnelRelay):
setTunnelRelay(tunnelRelay)