Settings: Swap table view sections

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander 2018-11-03 17:53:50 +05:30
parent e8802b14b4
commit 09fbe93bf0
1 changed files with 4 additions and 4 deletions

View File

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