aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-11-03 19:53:04 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-11-03 19:53:04 +0100
commitc4e5bde1d9185820ee42ccd4fc2aa8c8da8fd4c5 (patch)
tree4fd1535bf75ae186f0fb44851d35da0822d35d71 /WireGuard
parentSettings: simplify (diff)
downloadwireguard-apple-c4e5bde1d9185820ee42ccd4fc2aa8c8da8fd4c5.tar.xz
wireguard-apple-c4e5bde1d9185820ee42ccd4fc2aa8c8da8fd4c5.zip
Revert "Settings: Swap table view sections"
This reverts commit 1108f8248946f80d29012d8d43658db8461c0fed. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard')
-rw-r--r--WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift10
1 files changed, 5 insertions, 5 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift b/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift
index 841fb21..09b0d77 100644
--- a/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift
@@ -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
}