From 9a8737f2ad47c9143e28ca4cb0a9ca347ebb9008 Mon Sep 17 00:00:00 2001 From: Ricky Witherspoon Date: Thu, 5 Aug 2021 11:59:33 -0400 Subject: [PATCH] =?UTF-8?q?=E2=80=A2=20Settings=20made=20by=20now=20does?= =?UTF-8?q?=20not=20use=20sheet.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/RSWTools/Views/Settings/SettingsMadeBy.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Sources/RSWTools/Views/Settings/SettingsMadeBy.swift b/Sources/RSWTools/Views/Settings/SettingsMadeBy.swift index df12c87..defbb75 100644 --- a/Sources/RSWTools/Views/Settings/SettingsMadeBy.swift +++ b/Sources/RSWTools/Views/Settings/SettingsMadeBy.swift @@ -11,7 +11,6 @@ import SwiftUI @available(iOS 14.0, *) public struct SettingsMadeBy: View { let appID: Int - @State private var showPersonalWebsite = false @Environment(\.openURL) var openURL public init(appID: Int){ @@ -47,10 +46,7 @@ public struct SettingsMadeBy: View { .font(.caption) .frame(maxWidth: .infinity, alignment: .center) .onTapGesture{ - showPersonalWebsite.toggle() - } - .sheet(isPresented: $showPersonalWebsite){ - SafariView(website: .personal) + openURL(Website.personal.url) } } .padding(.top)