Skip to content

Commit d7a3400

Browse files
Merge pull request #313 from CelloSerenity/csdev
Add LocalDevVPN info
2 parents 4c934e5 + 3b59b83 commit d7a3400

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

StikJIT/StikJITApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ func startHeartbeatInBackground(showErrorUI: Bool = true) {
584584
} else {
585585
showAlert(
586586
title: "Heartbeat Error",
587-
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.",
587+
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.",
588588
showOk: false,
589589
showTryAgain: true
590590
) { shouldTryAgain in

StikJIT/Views/SettingsView.swift

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,22 @@ struct SettingsView: View {
538538
.padding(.vertical, 8)
539539
}
540540

541+
Button(action: {
542+
if let url = URL(string: "https://apps.apple.com/us/app/localdevvpn/id6755608044") {
543+
UIApplication.shared.open(url)
544+
}
545+
}) {
546+
HStack {
547+
Image(systemName: "arrow.down.circle")
548+
.font(.system(size: 18))
549+
.foregroundColor(.primary.opacity(0.8))
550+
Text("Download LocalDevVPN")
551+
.foregroundColor(.primary.opacity(0.8))
552+
Spacer()
553+
}
554+
.padding(.vertical, 8)
555+
}
556+
541557
Button(action: {
542558
if let url = URL(string: "https://discord.gg/qahjXNTDwS") {
543559
UIApplication.shared.open(url)

0 commit comments

Comments
 (0)