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,8 +35,10 @@ extension AboutView {
Group {
linksLink
creditsLink
if !iapManager.isRestricted {
donateLink
}
}
.themeSection(header: Strings.Views.About.Sections.resources)
Section {
diagnosticsLink

View File

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