Hide sponsors link in App Store versions

This commit is contained in:
世界
2024-02-18 19:10:22 +08:00
parent be86607f31
commit e9d55c6125
2 changed files with 7 additions and 7 deletions
@@ -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 {