This commit is contained in:
Thomas Ricouard 2024-02-11 11:12:34 +01:00
parent 219703ecc7
commit 923927cddd
2 changed files with 0 additions and 11 deletions

View file

@ -302,13 +302,3 @@ struct AddAccountView: View {
} }
} }
} }
struct SafariView: UIViewControllerRepresentable {
let url: URL
func makeUIViewController(context _: UIViewControllerRepresentableContext<SafariView>) -> SFSafariViewController {
SFSafariViewController(url: url)
}
func updateUIViewController(_: SFSafariViewController, context _: UIViewControllerRepresentableContext<SafariView>) {}
}

View file

@ -9,7 +9,6 @@ public struct TrendingLinksListView: View {
@Environment(Client.self) private var client @Environment(Client.self) private var client
@State private var links: [Card] @State private var links: [Card]
@State private var isLoadingNextPage = false
public init(cards: [Card]) { public init(cards: [Card]) {
_links = .init(initialValue: cards) _links = .init(initialValue: cards)