Skip to content

Commit

Permalink
• Settings made by now does not use sheet.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rspoon3 committed Aug 5, 2021
1 parent 7357991 commit 9a8737f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Sources/RSWTools/Views/Settings/SettingsMadeBy.swift
Expand Up @@ -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){
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9a8737f

Please sign in to comment.