summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSajad Vishkai <sajaclvishkai@gmail.com>2022-09-26 11:47:59 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-09-26 16:31:20 +0200
commitd0908e04b8882ffc0c9f61889dfab99f5fe9bba0 (patch)
treedb115e0b991bf349756b150c031878d1985e6d89
parent1a38fdd94dd7ec75c1e7dcaf74aa57f249f59866 (diff)
downloadmullvadvpn-d0908e04b8882ffc0c9f61889dfab99f5fe9bba0.tar.xz
mullvadvpn-d0908e04b8882ffc0c9f61889dfab99f5fe9bba0.zip
Update CustomSwitch.swift
-rw-r--r--ios/MullvadVPN/CustomSwitch.swift5
1 files changed, 1 insertions, 4 deletions
diff --git a/ios/MullvadVPN/CustomSwitch.swift b/ios/MullvadVPN/CustomSwitch.swift
index fb3d5bc3eb..7b3430806c 100644
--- a/ios/MullvadVPN/CustomSwitch.swift
+++ b/ios/MullvadVPN/CustomSwitch.swift
@@ -29,10 +29,7 @@ class CustomSwitch: UISwitch {
tintColor = .clear
onTintColor = .clear
-
- if #available(iOS 13.0, *) {
- overrideUserInterfaceStyle = .light
- }
+ overrideUserInterfaceStyle = .light
updateThumbColor(isOn: isOn, animated: false)