From bc7492643199256c02d95bc5e6f015640bc4af92 Mon Sep 17 00:00:00 2001 From: rene Date: Wed, 3 Jun 2026 16:40:04 +0200 Subject: [PATCH] =?UTF-8?q?Mehr-Tab:=20PWA-Deep-Links=20(Forum/Hunde/Profi?= =?UTF-8?q?l)=20entfernt=20=E2=80=94=20Companion-App,=20User=20kommt=20eh?= =?UTF-8?q?=20=C3=BCber=20banyaro.app?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BanYaroGo/Views/SettingsView.swift | 19 ------------------- 1 file changed, 19 deletions(-) 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) - } - } - } - } }