Settings: Swap table view sections
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
@@ -13,8 +13,8 @@ class SettingsTableViewController: UITableViewController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let settingsFieldsBySection : [[SettingsFields]] = [
|
let settingsFieldsBySection : [[SettingsFields]] = [
|
||||||
[.iosAppVersion, .goBackendVersion],
|
[.exportZipArchive],
|
||||||
[.exportZipArchive]
|
[.iosAppVersion, .goBackendVersion]
|
||||||
]
|
]
|
||||||
|
|
||||||
let tunnelsManager: TunnelsManager?
|
let tunnelsManager: TunnelsManager?
|
||||||
@@ -111,9 +111,9 @@ extension SettingsTableViewController {
|
|||||||
override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
|
override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
|
||||||
switch (section) {
|
switch (section) {
|
||||||
case 0:
|
case 0:
|
||||||
return "About"
|
|
||||||
case 1:
|
|
||||||
return "Export configurations"
|
return "Export configurations"
|
||||||
|
case 1:
|
||||||
|
return "About"
|
||||||
default:
|
default:
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user