diff --git a/BanYaroGo/Views/SettingsView.swift b/BanYaroGo/Views/SettingsView.swift index 68c92ff..13fdfe7 100644 --- a/BanYaroGo/Views/SettingsView.swift +++ b/BanYaroGo/Views/SettingsView.swift @@ -99,9 +99,6 @@ struct SettingsView: View { } Section { - pwaLink("Forum", systemImage: "bubble.left.and.bubble.right.fill", fragment: "forum") - pwaLink("Hunde-Profile bearbeiten", systemImage: "pawprint.fill", fragment: "dogs") - pwaLink("Profil & Einstellungen", systemImage: "gearshape.fill", fragment: "settings") if let url = URL(string: "https://banyaro.app") { Link(destination: url) { HStack { @@ -263,20 +260,4 @@ struct SettingsView: View { if path.hasPrefix("http") { return URL(string: path) } return URL(string: "https://banyaro.app\(path)") } - - @ViewBuilder - private func pwaLink(_ title: String, systemImage: String, fragment: String) -> some View { - if let url = URL(string: "https://banyaro.app/#\(fragment)") { - Link(destination: url) { - HStack { - Label(title, systemImage: systemImage) - .foregroundStyle(.primary) - Spacer() - Image(systemName: "arrow.up.right.square") - .font(.caption) - .foregroundStyle(.tertiary) - } - } - } - } }