summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
authorSajad Vishkai <sajaclvishkai@gmail.com>2022-09-26 11:48:36 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-09-26 16:31:20 +0200
commit93a3208145f59de08bb864d3630d271c575edd8f (patch)
tree8fd67f6cdf3c8374011a4bf8223dbafc5ff23204 /ios
parent08778e0af4c9bdc906367ddb4dc3ecaaa4ea2e4c (diff)
downloadmullvadvpn-93a3208145f59de08bb864d3630d271c575edd8f.tar.xz
mullvadvpn-93a3208145f59de08bb864d3630d271c575edd8f.zip
Update HeaderBarView.swift
Diffstat (limited to 'ios')
-rw-r--r--ios/MullvadVPN/HeaderBarView.swift4
1 files changed, 1 insertions, 3 deletions
diff --git a/ios/MullvadVPN/HeaderBarView.swift b/ios/MullvadVPN/HeaderBarView.swift
index d27fb6ef6c..426b3756be 100644
--- a/ios/MullvadVPN/HeaderBarView.swift
+++ b/ios/MullvadVPN/HeaderBarView.swift
@@ -77,9 +77,7 @@ class HeaderBarView: UIView {
right: UIMetrics.contentLayoutMargins.right
)
- if #available(iOS 13.0, *) {
- accessibilityContainerType = .semanticGroup
- }
+ accessibilityContainerType = .semanticGroup
let imageSize = brandNameImage?.size ?? .zero
let brandNameAspectRatio = imageSize.width / max(imageSize.height, 1)