summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSajad Vishkai <sajaclvishkai@gmail.com>2022-09-26 11:48:19 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-09-26 16:31:20 +0200
commit08778e0af4c9bdc906367ddb4dc3ecaaa4ea2e4c (patch)
tree91a4ff534444789788a170b9a6f881ae54f6c853
parentd0908e04b8882ffc0c9f61889dfab99f5fe9bba0 (diff)
downloadmullvadvpn-08778e0af4c9bdc906367ddb4dc3ecaaa4ea2e4c.tar.xz
mullvadvpn-08778e0af4c9bdc906367ddb4dc3ecaaa4ea2e4c.zip
Update CustomSwitchContainer.swift
-rw-r--r--ios/MullvadVPN/CustomSwitchContainer.swift4
1 files changed, 1 insertions, 3 deletions
diff --git a/ios/MullvadVPN/CustomSwitchContainer.swift b/ios/MullvadVPN/CustomSwitchContainer.swift
index 55316f2929..6fdf06a2a3 100644
--- a/ios/MullvadVPN/CustomSwitchContainer.swift
+++ b/ios/MullvadVPN/CustomSwitchContainer.swift
@@ -15,9 +15,7 @@ class CustomSwitchContainer: UIView {
let shapeLayer = CAShapeLayer()
shapeLayer.borderColor = UIColor.Switch.borderColor.cgColor
shapeLayer.borderWidth = 2
- if #available(iOS 13.0, *) {
- shapeLayer.cornerCurve = .continuous
- }
+ shapeLayer.cornerCurve = .continuous
return shapeLayer
}()