diff options
| -rw-r--r-- | ios/MullvadVPN/CustomSwitch.swift | 5 |
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) |
