diff options
| author | Sajad Vishkai <sajaclvishkai@gmail.com> | 2022-09-26 11:48:19 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2022-09-26 16:31:20 +0200 |
| commit | 08778e0af4c9bdc906367ddb4dc3ecaaa4ea2e4c (patch) | |
| tree | 91a4ff534444789788a170b9a6f881ae54f6c853 /ios | |
| parent | d0908e04b8882ffc0c9f61889dfab99f5fe9bba0 (diff) | |
| download | mullvadvpn-08778e0af4c9bdc906367ddb4dc3ecaaa4ea2e4c.tar.xz mullvadvpn-08778e0af4c9bdc906367ddb4dc3ecaaa4ea2e4c.zip | |
Update CustomSwitchContainer.swift
Diffstat (limited to 'ios')
| -rw-r--r-- | ios/MullvadVPN/CustomSwitchContainer.swift | 4 |
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 }() |
