summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSajad Vishkai <sajaclvishkai@gmail.com>2022-09-26 11:55:26 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-09-26 16:31:21 +0200
commite1a95ed9ac7773fef00d4596e2984a3996987052 (patch)
tree1b395d29053828cf0f366ba195c3ea1703ba74fb
parentc72f60f9283c1651bd685c86c59afae34ff3f753 (diff)
downloadmullvadvpn-e1a95ed9ac7773fef00d4596e2984a3996987052.tar.xz
mullvadvpn-e1a95ed9ac7773fef00d4596e2984a3996987052.zip
Update SettingsDNSTextCell.swift
-rw-r--r--ios/MullvadVPN/SettingsDNSTextCell.swift4
1 files changed, 1 insertions, 3 deletions
diff --git a/ios/MullvadVPN/SettingsDNSTextCell.swift b/ios/MullvadVPN/SettingsDNSTextCell.swift
index dd1a97ccd3..83764fe9ee 100644
--- a/ios/MullvadVPN/SettingsDNSTextCell.swift
+++ b/ios/MullvadVPN/SettingsDNSTextCell.swift
@@ -56,9 +56,7 @@ class SettingsDNSTextCell: SettingsCell, UITextFieldDelegate {
backgroundView?.backgroundColor = UIColor.TextField.backgroundColor
contentView.addSubview(textField)
- if #available(iOS 13.0, *) {
- overrideUserInterfaceStyle = .light
- }
+ overrideUserInterfaceStyle = .light
NSLayoutConstraint.activate([
textField.topAnchor.constraint(equalTo: contentView.topAnchor),