diff options
| author | Bug Magnet <marco.nikic@mullvad.net> | 2025-09-18 15:37:58 +0200 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2025-09-19 11:41:35 +0200 |
| commit | 74715ffc2207803a6b362ece4398da4cd34a3b2b (patch) | |
| tree | 280406f9b31ca4755a7502b9094e66f6ab82162a /ios | |
| parent | e0bb1f2eb3396b925ade89f5a46420563e59dc4c (diff) | |
| download | mullvadvpn-74715ffc2207803a6b362ece4398da4cd34a3b2b.tar.xz mullvadvpn-74715ffc2207803a6b362ece4398da4cd34a3b2b.zip | |
Apply background color to custom DNS cell upon reuse
Diffstat (limited to 'ios')
| -rw-r--r-- | ios/MullvadVPN/View controllers/VPNSettings/CustomDNSCellFactory.swift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ios/MullvadVPN/View controllers/VPNSettings/CustomDNSCellFactory.swift b/ios/MullvadVPN/View controllers/VPNSettings/CustomDNSCellFactory.swift index 0118ee2a43..8d80402bf3 100644 --- a/ios/MullvadVPN/View controllers/VPNSettings/CustomDNSCellFactory.swift +++ b/ios/MullvadVPN/View controllers/VPNSettings/CustomDNSCellFactory.swift @@ -141,6 +141,7 @@ final class CustomDNSCellFactory: @preconcurrency CellFactoryProtocol { cell.action = { [weak self] isOn in self?.delegate?.didChangeState(for: .useCustomDNS, isOn: isOn) } + cell.backgroundView?.backgroundColor = UIColor.Cell.Background.normal case .addDNSServer: guard let cell = cell as? SettingsAddDNSEntryCell else { return } |
