feat: 协议
This commit is contained in:
parent
db82f3b7ec
commit
084a2da41a
@ -164,6 +164,9 @@ struct JoinModal: View {
|
||||
HStack(alignment: .center) {
|
||||
Button(action: {
|
||||
// Action for Terms of Service
|
||||
if let url = URL(string: "https://memorywake.com/privacy-policy") {
|
||||
UIApplication.shared.open(url)
|
||||
}
|
||||
}) {
|
||||
Text("Terms of Service")
|
||||
.font(.system(size: 12, weight: .regular))
|
||||
@ -175,7 +178,10 @@ struct JoinModal: View {
|
||||
.frame(width: 1, height: 16)
|
||||
.padding(.vertical, 4)
|
||||
Button(action: {
|
||||
// Action for Privacy Policy
|
||||
// 打开网页
|
||||
if let url = URL(string: "https://memorywake.com/privacy-policy") {
|
||||
UIApplication.shared.open(url)
|
||||
}
|
||||
}) {
|
||||
Text("Privacy Policy")
|
||||
.font(.system(size: 12, weight: .regular))
|
||||
@ -188,8 +194,11 @@ struct JoinModal: View {
|
||||
.padding(.vertical, 4)
|
||||
Button(action: {
|
||||
// Action for Restore Purchase
|
||||
if let url = URL(string: "https://memorywake.com/privacy-policy") {
|
||||
UIApplication.shared.open(url)
|
||||
}
|
||||
}) {
|
||||
Text("Restore Purchase")
|
||||
Text("AI Usage Guidelines")
|
||||
.font(.system(size: 12, weight: .regular))
|
||||
.foregroundColor(.themeTextMessage)
|
||||
.underline() // Add underline
|
||||
|
||||
@ -113,7 +113,9 @@ struct LoginView: View {
|
||||
|
||||
HStack(spacing: 8) {
|
||||
Button("Service") {
|
||||
openURL("https://yourwebsite.com/terms")
|
||||
if let url = URL(string: "https://memorywake.com/privacy-policy") {
|
||||
UIApplication.shared.open(url)
|
||||
}
|
||||
}
|
||||
.font(.caption2)
|
||||
.foregroundColor(.themeTextMessageMain)
|
||||
@ -123,7 +125,9 @@ struct LoginView: View {
|
||||
.font(.caption)
|
||||
|
||||
Button("Privacy Policy") {
|
||||
openURL("https://yourwebsite.com/privacy")
|
||||
if let url = URL(string: "https://memorywake.com/privacy-policy") {
|
||||
UIApplication.shared.open(url)
|
||||
}
|
||||
}
|
||||
.font(.caption2)
|
||||
.foregroundColor(.themeTextMessageMain)
|
||||
|
||||
@ -48,7 +48,7 @@ struct AboutUsView: View {
|
||||
title: "Terms of Service",
|
||||
action: {
|
||||
withAnimation {
|
||||
if let url = URL(string: "https://example.com/terms") {
|
||||
if let url = URL(string: "https://memorywake.com/privacy-policy") {
|
||||
UIApplication.shared.open(url)
|
||||
}
|
||||
}
|
||||
@ -59,7 +59,7 @@ struct AboutUsView: View {
|
||||
title: "Privacy Policy",
|
||||
action: {
|
||||
withAnimation {
|
||||
if let url = URL(string: "https://example.com/terms") {
|
||||
if let url = URL(string: "https://memorywake.com/privacy-policy") {
|
||||
UIApplication.shared.open(url)
|
||||
}
|
||||
}
|
||||
@ -70,7 +70,7 @@ struct AboutUsView: View {
|
||||
title: "AI Usage Guidelines",
|
||||
action: {
|
||||
withAnimation {
|
||||
if let url = URL(string: "https://example.com/terms") {
|
||||
if let url = URL(string: "https://memorywake.com/privacy-policy") {
|
||||
UIApplication.shared.open(url)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user