summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJon Petersson <jon.petersson@kvadrat.se>2024-09-18 15:13:23 +0200
committerBug Magnet <marco.nikic@mullvad.net>2024-09-20 15:00:45 +0200
commit0959c0c65c7c318d570e8207a3e5dd767d41dce8 (patch)
tree3a85ed47a19e1eb4397207ec439e1e23c2cc68c3
parente3a94e899f364de8474d949195e30fcbc32450cf (diff)
downloadmullvadvpn-0959c0c65c7c318d570e8207a3e5dd767d41dce8.tar.xz
mullvadvpn-0959c0c65c7c318d570e8207a3e5dd767d41dce8.zip
Make VPN settings DNS edit respect dark mode
-rw-r--r--ios/MullvadVPN/View controllers/Settings/SettingsDNSTextCell.swift2
1 files changed, 0 insertions, 2 deletions
diff --git a/ios/MullvadVPN/View controllers/Settings/SettingsDNSTextCell.swift b/ios/MullvadVPN/View controllers/Settings/SettingsDNSTextCell.swift
index dc03559b84..b423bcaca7 100644
--- a/ios/MullvadVPN/View controllers/Settings/SettingsDNSTextCell.swift
+++ b/ios/MullvadVPN/View controllers/Settings/SettingsDNSTextCell.swift
@@ -56,8 +56,6 @@ class SettingsDNSTextCell: SettingsCell, UITextFieldDelegate {
backgroundView?.backgroundColor = UIColor.TextField.backgroundColor
contentView.addSubview(textField)
- overrideUserInterfaceStyle = .light
-
contentView.addConstrainedSubviews([textField]) {
textField.pinEdgesToSuperview()
}