From 923927cddd7e3d6f2d8f0b054a2d25672033ee48 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Sun, 11 Feb 2024 11:12:34 +0100 Subject: [PATCH] Cleanup --- IceCubesApp/App/Tabs/Settings/AddAccountsView.swift | 10 ---------- .../Sources/Explore/TrendingLinksListView.swift | 1 - 2 files changed, 11 deletions(-) diff --git a/IceCubesApp/App/Tabs/Settings/AddAccountsView.swift b/IceCubesApp/App/Tabs/Settings/AddAccountsView.swift index ba4ea88d..cf28d3bd 100644 --- a/IceCubesApp/App/Tabs/Settings/AddAccountsView.swift +++ b/IceCubesApp/App/Tabs/Settings/AddAccountsView.swift @@ -302,13 +302,3 @@ struct AddAccountView: View { } } } - -struct SafariView: UIViewControllerRepresentable { - let url: URL - - func makeUIViewController(context _: UIViewControllerRepresentableContext) -> SFSafariViewController { - SFSafariViewController(url: url) - } - - func updateUIViewController(_: SFSafariViewController, context _: UIViewControllerRepresentableContext) {} -} diff --git a/Packages/Explore/Sources/Explore/TrendingLinksListView.swift b/Packages/Explore/Sources/Explore/TrendingLinksListView.swift index 0992de1c..b3f80fb9 100644 --- a/Packages/Explore/Sources/Explore/TrendingLinksListView.swift +++ b/Packages/Explore/Sources/Explore/TrendingLinksListView.swift @@ -9,7 +9,6 @@ public struct TrendingLinksListView: View { @Environment(Client.self) private var client @State private var links: [Card] - @State private var isLoadingNextPage = false public init(cards: [Card]) { _links = .init(initialValue: cards)