Revert "Settings: Swap table view sections"

This reverts commit 1108f82489.
This commit is contained in:
Jason A. Donenfeld 2018-11-03 19:53:04 +01:00
parent d91cac6327
commit 939f50be5f
1 changed files with 5 additions and 5 deletions

View File

@ -12,9 +12,9 @@ class SettingsTableViewController: UITableViewController {
case exportZipArchive = "Export zip archive"
}
let settingsFieldsBySection: [[SettingsFields]] = [
[.exportZipArchive],
[.iosAppVersion, .goBackendVersion]
let settingsFieldsBySection : [[SettingsFields]] = [
[.iosAppVersion, .goBackendVersion],
[.exportZipArchive]
]
let tunnelsManager: TunnelsManager?
@ -118,9 +118,9 @@ extension SettingsTableViewController {
override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
switch (section) {
case 0:
return "Export configurations"
case 1:
return "About"
case 1:
return "Export configurations"
default:
return nil
}