diff options
| author | Bug Magnet <marco.nikic@mullvad.net> | 2023-08-03 16:38:25 +0200 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2023-08-09 09:26:39 +0200 |
| commit | 04239e4e260ecc625aa940ec742927a20baa9583 (patch) | |
| tree | 379c79afd3aa8371c4fad6183c0ec66e0a1ca75b /ios/MullvadVPN | |
| parent | a9e7d9240e19e651cde51e5ab2b28ffe334181b3 (diff) | |
| download | mullvadvpn-04239e4e260ecc625aa940ec742927a20baa9583.tar.xz mullvadvpn-04239e4e260ecc625aa940ec742927a20baa9583.zip | |
Prevent deselection of rows
Diffstat (limited to 'ios/MullvadVPN')
| -rw-r--r-- | ios/MullvadVPN/View controllers/Preferences/PreferencesDataSource.swift | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ios/MullvadVPN/View controllers/Preferences/PreferencesDataSource.swift b/ios/MullvadVPN/View controllers/Preferences/PreferencesDataSource.swift index 73f051597c..a6b565ada6 100644 --- a/ios/MullvadVPN/View controllers/Preferences/PreferencesDataSource.swift +++ b/ios/MullvadVPN/View controllers/Preferences/PreferencesDataSource.swift @@ -409,6 +409,10 @@ final class PreferencesDataSource: UITableViewDiffableDataSource< } } + func tableView(_ tableView: UITableView, willDeselectRowAt indexPath: IndexPath) -> IndexPath? { + nil + } + func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? { let sectionIdentifier = snapshot().sectionIdentifiers[section] |
