Add VPN info

This commit is contained in:
CelloSerenity 2026-01-08 20:08:19 -07:00
parent 4c934e5c85
commit 3b59b83c99
2 changed files with 17 additions and 1 deletions

View file

@ -584,7 +584,7 @@ func startHeartbeatInBackground(showErrorUI: Bool = true) {
} else {
showAlert(
title: "Heartbeat Error",
message: "Failed to connect to Heartbeat (\(code)). Make sure Wi‑Fi is enabled and the device is reachable. Launch the app at least once while online before trying again.",
message: "Failed to connect to Heartbeat (\(code)). Make sure Wi‑Fi and LocalDevVPN are connected and that the device is reachable. Launch the app at least once while online before trying again.",
showOk: false,
showTryAgain: true
) { shouldTryAgain in

View file

@ -538,6 +538,22 @@ struct SettingsView: View {
.padding(.vertical, 8)
}
Button(action: {
if let url = URL(string: "https://apps.apple.com/us/app/localdevvpn/id6755608044") {
UIApplication.shared.open(url)
}
}) {
HStack {
Image(systemName: "arrow.down.circle")
.font(.system(size: 18))
.foregroundColor(.primary.opacity(0.8))
Text("Download LocalDevVPN")
.foregroundColor(.primary.opacity(0.8))
Spacer()
}
.padding(.vertical, 8)
}
Button(action: {
if let url = URL(string: "https://discord.gg/qahjXNTDwS") {
UIApplication.shared.open(url)