Prechádzať zdrojové kódy

Update Discord link and remove website link

Mike Plante 1 rok pred
rodič
commit
c536eab2a8

+ 1 - 1
Trio/Sources/Modules/AppDiagnostics/View/PrivacyPolicyView.swift

@@ -177,7 +177,7 @@ struct PrivacyPolicyView: View {
 
                         HStack(alignment: .center, spacing: 10) {
                             Button {
-                                openURL(URL(string: "http://discord.diy-trio.org/")!)
+                                openURL(URL(string: "http://discord.triodocs.org/")!)
                             } label: {
                                 Text("Trio Discord")
                                     .padding(.horizontal, 12)

+ 0 - 16
Trio/Sources/Modules/Settings/View/SettingsRootView.swift

@@ -237,22 +237,6 @@ extension Settings {
                                 }
                             }
                             .frame(maxWidth: .infinity, alignment: .leading)
-
-                            Button {
-                                if let url = URL(string: "https://diy-trio.org/") {
-                                    UIApplication.shared.open(url)
-                                }
-                            } label: {
-                                HStack {
-                                    Text("Trio Website")
-                                        .foregroundColor(.primary)
-                                    Spacer()
-                                    Image(systemName: "chevron.right")
-                                        .foregroundColor(.secondary)
-                                        .font(.footnote)
-                                }
-                            }
-                            .frame(maxWidth: .infinity, alignment: .leading)
                         }
                     ).listRowBackground(Color.chart)