diff options
| author | Jon Petersson <jon.petersson@kvadrat.se> | 2023-11-13 17:06:30 +0100 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2023-11-14 10:03:53 +0100 |
| commit | f57a46f6f57d34e287fac8f4121953695df4a0a0 (patch) | |
| tree | 511c5526d1d35fe3593e0c4bcc5a44e5397f3214 /ios | |
| parent | d57f06a679463fa1373c2258ec3331e0dea4dec0 (diff) | |
| download | mullvadvpn-f57a46f6f57d34e287fac8f4121953695df4a0a0.tar.xz mullvadvpn-f57a46f6f57d34e287fac8f4121953695df4a0a0.zip | |
Add missing text about unblocking Internet on device revoked view
Diffstat (limited to 'ios')
| -rw-r--r-- | ios/MullvadVPN/TunnelManager/TunnelState.swift | 3 | ||||
| -rw-r--r-- | ios/MullvadVPN/View controllers/RevokedDevice/RevokedDeviceViewController.swift | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ios/MullvadVPN/TunnelManager/TunnelState.swift b/ios/MullvadVPN/TunnelManager/TunnelState.swift index fd013ece4c..fad2977568 100644 --- a/ios/MullvadVPN/TunnelManager/TunnelState.swift +++ b/ios/MullvadVPN/TunnelManager/TunnelState.swift @@ -99,7 +99,8 @@ enum TunnelState: Equatable, CustomStringConvertible { var isSecured: Bool { switch self { - case .reconnecting, .connecting, .connected, .waitingForConnectivity(.noConnection), .error(.accountExpired): + case .reconnecting, .connecting, .connected, .waitingForConnectivity(.noConnection), .error(.accountExpired), + .error(.deviceRevoked): return true case .pendingReconnect, .disconnecting, .disconnected, .waitingForConnectivity(.noNetwork), .error: return false diff --git a/ios/MullvadVPN/View controllers/RevokedDevice/RevokedDeviceViewController.swift b/ios/MullvadVPN/View controllers/RevokedDevice/RevokedDeviceViewController.swift index e14b1e6eba..d4dc37616d 100644 --- a/ios/MullvadVPN/View controllers/RevokedDevice/RevokedDeviceViewController.swift +++ b/ios/MullvadVPN/View controllers/RevokedDevice/RevokedDeviceViewController.swift @@ -48,7 +48,7 @@ class RevokedDeviceViewController: UIViewController, RootContainment { private lazy var footerLabel: UILabel = { let bodyLabel = UILabel() bodyLabel.translatesAutoresizingMaskIntoConstraints = false - bodyLabel.font = UIFont.systemFont(ofSize: 17) + bodyLabel.font = UIFont.systemFont(ofSize: 17, weight: .semibold) bodyLabel.numberOfLines = 0 bodyLabel.textColor = .white bodyLabel.text = NSLocalizedString( |
