summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBug Magnet <marco.nikic@mullvad.net>2024-05-21 13:20:02 +0200
committerBug Magnet <marco.nikic@mullvad.net>2024-05-21 13:20:02 +0200
commitcba171ca2232838b3e7628221ed1b5a56f93230f (patch)
tree6cbd42ecfde7845ec5cd30a425a32ee47507a56c
parent22d92142b5ca3a0466b22f77743471f928e52524 (diff)
parent231177963a436b7d4969f6648bce2369fc6e15bc (diff)
downloadmullvadvpn-cba171ca2232838b3e7628221ed1b5a56f93230f.tar.xz
mullvadvpn-cba171ca2232838b3e7628221ed1b5a56f93230f.zip
Merge branch 'fix-vpn-settings-to-work-in-release'
-rw-r--r--ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsDataSource.swift6
1 files changed, 6 insertions, 0 deletions
diff --git a/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsDataSource.swift b/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsDataSource.swift
index 9a05dc04b0..4525b7d886 100644
--- a/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsDataSource.swift
+++ b/ios/MullvadVPN/View controllers/VPNSettings/VPNSettingsDataSource.swift
@@ -383,7 +383,13 @@ final class VPNSettingsDataSource: UITableViewDiffableDataSource<
// 0 due to there already being a separator between .dnsSettings and .ipOverrides.
case .dnsSettings: 0
case .ipOverrides: UIMetrics.TableView.sectionSpacing
+
+ #if DEBUG
case .quantumResistance: tableView.estimatedRowHeight
+ #else
+ case .wireGuardObfuscationPort: tableView.estimatedRowHeight
+ #endif
+
default: 0.5
}
}