From c4e5bde1d9185820ee42ccd4fc2aa8c8da8fd4c5 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 3 Nov 2018 19:53:04 +0100 Subject: [PATCH] Revert "Settings: Swap table view sections" This reverts commit 1108f8248946f80d29012d8d43658db8461c0fed. Signed-off-by: Jason A. Donenfeld --- .../WireGuard/UI/iOS/SettingsTableViewController.swift | 10 +++++----- 1 file 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 }