From 1af892bbd1d81bf7ce54a5dd1e40a903baf882d8 Mon Sep 17 00:00:00 2001 From: Lumaa Date: Mon, 22 Apr 2024 12:26:35 +0200 Subject: [PATCH] Changed update feature --- Threaded/Views/DiscoveryView.swift | 5 +++-- Threaded/Views/Settings/UpdateView.swift | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Threaded/Views/DiscoveryView.swift b/Threaded/Views/DiscoveryView.swift index 4dcc43e..502a844 100644 --- a/Threaded/Views/DiscoveryView.swift +++ b/Threaded/Views/DiscoveryView.swift @@ -93,9 +93,10 @@ struct DiscoveryView: View { } .environment(\.openURL, OpenURLAction { url in // Open internal URL. + return .systemAction // guard preferences.browserType == .inApp else { return .systemAction } - let handled = navigator.handle(url: url) - return handled +// let handled = navigator.handle(url: url) +// return handled }) .environmentObject(navigator) .task { diff --git a/Threaded/Views/Settings/UpdateView.swift b/Threaded/Views/Settings/UpdateView.swift index c1647c8..ffbbc4a 100644 --- a/Threaded/Views/Settings/UpdateView.swift +++ b/Threaded/Views/Settings/UpdateView.swift @@ -41,7 +41,7 @@ struct UpdateView: View { newFeature(systemImage: "info.circle", title: "\"About Threaded\" redesign", text: "This informational view has been majorly changed!") - newFeature(systemImage: "checklist", title: "Polls fixes", text: "A few issues with polls have been fixed") + newFeature(systemImage: "number", title: "Read hashtags", text: "You can now view posts using a specific hashtag in the Discovery page.") } .frame(height: 500) }