summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ios/MullvadVPN/TunnelManager/TunnelState.swift3
-rw-r--r--ios/MullvadVPN/View controllers/RevokedDevice/RevokedDeviceViewController.swift2
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(