Fix links and a link to the discord

This commit is contained in:
Stephen 2025-05-08 23:05:59 -04:00
parent 7dbd613ac9
commit 938d55e8b0

View file

@ -39,7 +39,7 @@ struct SettingsView: View {
// Developer profile image URLs
private let developerProfiles: [String: String] = [
"Stephen": "https://github.com/0-Blu.png",
"Stephen": "https://github.com/StephenDev0.png",
"jkcoxson": "https://github.com/jkcoxson.png",
"Stossy11": "https://github.com/Stossy11.png",
"Neo": "https://github.com/neoarz.png",
@ -311,7 +311,7 @@ struct SettingsView: View {
.background(Color(UIColor.tertiarySystemBackground))
.cornerRadius(12)
.onTapGesture {
if let url = URL(string: "https://github.com/0-Blu") {
if let url = URL(string: "https://github.com/StephenDev0") {
UIApplication.shared.open(url)
}
}
@ -426,7 +426,7 @@ struct SettingsView: View {
.padding(.bottom, 4)
Button(action: {
if let url = URL(string: "https://github.com/0-Blu/StikDebug-Guide/blob/main/pairing_file.md") {
if let url = URL(string: "https://github.com/StephenDev0/StikDebug-Guide/blob/main/pairing_file.md") {
UIApplication.shared.open(url)
}
}) {
@ -441,6 +441,22 @@ struct SettingsView: View {
.padding(.vertical, 8)
}
Button(action: {
if let url = URL(string: "https://discord.gg/qahjXNTDwS") {
UIApplication.shared.open(url)
}
}) {
HStack {
Image(systemName: "questionmark.circle")
.font(.system(size: 18))
.foregroundColor(.primary.opacity(0.8))
Text("Need support? Join the Discord!")
.foregroundColor(.primary.opacity(0.8))
Spacer()
}
.padding(.vertical, 8)
}
HStack(alignment: .center, spacing: 8) {
Image(systemName: "shield.slash")
.font(.system(size: 18))