Settings: Swap table view sections

This commit is contained in:
Roopesh Chander 2018-11-03 17:53:50 +05:30
parent 4f287360a8
commit 1108f82489

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
}