Merge pull request #313 from CelloSerenity/csdev

Add LocalDevVPN info
This commit is contained in:
CelloSerenity 2026-01-09 09:25:04 -07:00 • committed by GitHub
commit d7a34001ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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)