summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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
}()