diff --git a/ApplicationLibrary/Views/Setting/SettingView.swift b/ApplicationLibrary/Views/Setting/SettingView.swift index 480807b..9af87c0 100644 --- a/ApplicationLibrary/Views/Setting/SettingView.swift +++ b/ApplicationLibrary/Views/Setting/SettingView.swift @@ -1,4 +1,5 @@ +import Library import SwiftUI public struct SettingView: View { @@ -108,7 +109,11 @@ public struct SettingView: View { Label("Rate on the App Store", systemImage: "text.bubble.fill") } #endif - Tabs.sponsors.navigationLink + #if os(macOS) + if Variant.useSystemExtension { + Tabs.sponsors.navigationLink + } + #endif } Section("Debug") { NavigationLink { diff --git a/ApplicationLibrary/Views/Setting/SponsorsView.swift b/ApplicationLibrary/Views/Setting/SponsorsView.swift index 4ded84f..60061f7 100644 --- a/ApplicationLibrary/Views/Setting/SponsorsView.swift +++ b/ApplicationLibrary/Views/Setting/SponsorsView.swift @@ -10,12 +10,7 @@ public struct SponsorsView: View { Section { EmptyView() } footer: { - Text( - """ - **If I’ve defended your modern life, please consider sponsoring me.** - - _sing-box is completely free and open source, sponsorships to the developer are voluntary and you will not receive any digital content or services._ - """) + Text("**If I’ve defended your modern life, please consider sponsoring me.**") .frame(maxWidth: .infinity, alignment: .leading) }