aboutsummaryrefslogtreecommitdiffstats
path: root/Sources/WireGuardApp/UI/iOS/ViewController/SettingsTableViewController.swift
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2020-12-02 18:03:16 +0100
committerAndrej Mihajlov <and@mullvad.net>2020-12-04 09:39:05 +0100
commit8976a53b05f447f25a8c7a767c866b5b7e7e9082 (patch)
tree4a38979d7663156942e3877c0ae224121e5a8385 /Sources/WireGuardApp/UI/iOS/ViewController/SettingsTableViewController.swift
parentWireGuardApp: Include headers from WireGuardKitC (diff)
downloadwireguard-apple-8976a53b05f447f25a8c7a767c866b5b7e7e9082.tar.xz
wireguard-apple-8976a53b05f447f25a8c7a767c866b5b7e7e9082.zip
WireGuardApp: Add back the wireguard-go version extraction script and use WIREGUARD_GO_VERSION directly
Avoids linking against libwg-go.a in order to access the WireGuard backend version. Signed-off-by: Andrej Mihajlov <and@mullvad.net>
Diffstat (limited to 'Sources/WireGuardApp/UI/iOS/ViewController/SettingsTableViewController.swift')
-rw-r--r--Sources/WireGuardApp/UI/iOS/ViewController/SettingsTableViewController.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sources/WireGuardApp/UI/iOS/ViewController/SettingsTableViewController.swift b/Sources/WireGuardApp/UI/iOS/ViewController/SettingsTableViewController.swift
index 2872569..7f812d5 100644
--- a/Sources/WireGuardApp/UI/iOS/ViewController/SettingsTableViewController.swift
+++ b/Sources/WireGuardApp/UI/iOS/ViewController/SettingsTableViewController.swift
@@ -152,7 +152,7 @@ extension SettingsTableViewController {
}
cell.value = appVersion
} else if field == .goBackendVersion {
- cell.value = wireGuardVersion
+ cell.value = WIREGUARD_GO_VERSION
}
return cell
} else if field == .exportZipArchive {