aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-11-06 22:42:53 +0530
committerRoopesh Chander <roop@roopc.net>2018-11-06 22:42:53 +0530
commitf6a5dfead42649579ee2f901f7ca63de3cf698da (patch)
tree9b7d642c10150ccf7369514c83b4eaae99fbd4df /WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift
parentGlobal: swiftlint autocorrect (diff)
downloadwireguard-apple-f6a5dfead42649579ee2f901f7ca63de3cf698da.tar.xz
wireguard-apple-f6a5dfead42649579ee2f901f7ca63de3cf698da.zip
Global: swiftlint autocorrect --format
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift6
1 files changed, 3 insertions, 3 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift
index bd067c8..b6c25ae 100644
--- a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift
@@ -256,7 +256,7 @@ extension TunnelsListTableViewController: UIDocumentPickerDelegate {
} else {
// What if a file provider extension didn't respect our 'documentTypes' parameter
self.showErrorAlert(title: "Invalid file extension",
- message: "Please select a WireGuard configuration file (.conf) or a zip archive (.zip) for importing")
+ message: "Please select a WireGuard configuration file (.conf) or a zip archive (.zip) for importing")
}
}
}
@@ -266,7 +266,7 @@ extension TunnelsListTableViewController: UIDocumentPickerDelegate {
extension TunnelsListTableViewController: QRScanViewControllerDelegate {
func addScannedQRCode(tunnelConfiguration: TunnelConfiguration, qrScanViewController: QRScanViewController,
- completionHandler: (() -> Void)?) {
+ completionHandler: (() -> Void)?) {
tunnelsManager?.add(tunnelConfiguration: tunnelConfiguration) { (_, error) in
if let error = error {
ErrorPresenter.showErrorAlert(error: error, from: qrScanViewController, onDismissal: completionHandler)
@@ -330,7 +330,7 @@ extension TunnelsListTableViewController: UITableViewDelegate {
}
func tableView(_ tableView: UITableView,
- trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? {
+ trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? {
let deleteAction = UIContextualAction(style: .destructive, title: "Delete", handler: { [weak self] (_, _, completionHandler) in
guard let tunnelsManager = self?.tunnelsManager else { return }
let tunnel = tunnelsManager.tunnel(at: indexPath.row)