Hide donation link in beta

This commit is contained in:
Davide 2024-11-07 23:10:26 +01:00
parent 8fbccc6d80
commit bfc0be45ae
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
3 changed files with 10 additions and 2 deletions

View File

@ -29,6 +29,10 @@ import PassepartoutKit
import SwiftUI
struct AboutView: View {
@EnvironmentObject
var iapManager: IAPManager
let profileManager: ProfileManager
@Binding

View File

@ -35,7 +35,9 @@ extension AboutView {
Group {
linksLink
creditsLink
donateLink
if !iapManager.isRestricted {
donateLink
}
}
.themeSection(header: Strings.Views.About.Sections.resources)
Section {

View File

@ -34,7 +34,9 @@ extension AboutView {
Section {
linksLink
creditsLink
donateLink
if !iapManager.isRestricted {
donateLink
}
diagnosticsLink
}
}