summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ios/MullvadVPN/LocationDataSource.swift8
1 files changed, 4 insertions, 4 deletions
diff --git a/ios/MullvadVPN/LocationDataSource.swift b/ios/MullvadVPN/LocationDataSource.swift
index df70afef72..4553f92efa 100644
--- a/ios/MullvadVPN/LocationDataSource.swift
+++ b/ios/MullvadVPN/LocationDataSource.swift
@@ -19,15 +19,15 @@ protocol LocationDataSourceItemProtocol {
}
class LocationDataSource: NSObject, UITableViewDataSource {
- private var nodeByLocation = [RelayLocation: Node]()
- private var locationList = [RelayLocation]()
- private var rootNode = makeRootNode()
-
typealias CellProviderBlock = (UITableView, IndexPath, LocationDataSourceItemProtocol)
-> UITableViewCell?
typealias CellConfiguratorBlock = (UITableViewCell, IndexPath, LocationDataSourceItemProtocol)
-> Void
+ private var nodeByLocation = [RelayLocation: Node]()
+ private var locationList = [RelayLocation]()
+ private var rootNode = makeRootNode()
+
private let tableView: UITableView
private let cellProvider: CellProviderBlock
private let cellConfigurator: CellConfiguratorBlock