diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2020-07-23 11:21:41 +0300 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-07-23 15:13:24 +0300 |
| commit | e832a304f7d382f1f1f1d86bd2bed300544e40dc (patch) | |
| tree | b5288c2ebb369c914baaad33116d8d762a040020 | |
| parent | 613c243bb625f6a4d2ae97921daa477b23c4bdcf (diff) | |
| download | mullvadvpn-e832a304f7d382f1f1f1d86bd2bed300544e40dc.tar.xz mullvadvpn-e832a304f7d382f1f1f1d86bd2bed300544e40dc.zip | |
Drop zPosition as it's been messing up with table view
| -rw-r--r-- | ios/MullvadVPN/SelectLocationController.swift | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ios/MullvadVPN/SelectLocationController.swift b/ios/MullvadVPN/SelectLocationController.swift index 4441e8c18a..509c67e93e 100644 --- a/ios/MullvadVPN/SelectLocationController.swift +++ b/ios/MullvadVPN/SelectLocationController.swift @@ -65,9 +65,6 @@ class SelectLocationController: UITableViewController, RelayCacheObserver { self?.collapseCell(cell) } - // Prevent overlap between cells and subcells - cell.layer.zPosition = item.zPosition - return cell }) @@ -378,17 +375,6 @@ private enum DataSourceItem: Hashable { } } - var zPosition: CGFloat { - switch self { - case .country: - return 3 - case .city: - return 2 - case .hostname: - return 1 - } - } - } extension ServerRelaysResponse { |
