Revert "Settings: Swap table view sections"
This reverts commit 1108f82489
.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
e43de890e0
commit
c4e5bde1d9
|
@ -12,9 +12,9 @@ class SettingsTableViewController: UITableViewController {
|
||||||
case exportZipArchive = "Export zip archive"
|
case exportZipArchive = "Export zip archive"
|
||||||
}
|
}
|
||||||
|
|
||||||
let settingsFieldsBySection: [[SettingsFields]] = [
|
let settingsFieldsBySection : [[SettingsFields]] = [
|
||||||
[.exportZipArchive],
|
[.iosAppVersion, .goBackendVersion],
|
||||||
[.iosAppVersion, .goBackendVersion]
|
[.exportZipArchive]
|
||||||
]
|
]
|
||||||
|
|
||||||
let tunnelsManager: TunnelsManager?
|
let tunnelsManager: TunnelsManager?
|
||||||
|
@ -118,9 +118,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 "Export configurations"
|
|
||||||
case 1:
|
|
||||||
return "About"
|
return "About"
|
||||||
|
case 1:
|
||||||
|
return "Export configurations"
|
||||||
default:
|
default:
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue