Hide donation link in beta
This commit is contained in:
parent
8fbccc6d80
commit
bfc0be45ae
|
@ -29,6 +29,10 @@ import PassepartoutKit
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
||||||
struct AboutView: View {
|
struct AboutView: View {
|
||||||
|
|
||||||
|
@EnvironmentObject
|
||||||
|
var iapManager: IAPManager
|
||||||
|
|
||||||
let profileManager: ProfileManager
|
let profileManager: ProfileManager
|
||||||
|
|
||||||
@Binding
|
@Binding
|
||||||
|
|
|
@ -35,8 +35,10 @@ extension AboutView {
|
||||||
Group {
|
Group {
|
||||||
linksLink
|
linksLink
|
||||||
creditsLink
|
creditsLink
|
||||||
|
if !iapManager.isRestricted {
|
||||||
donateLink
|
donateLink
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.themeSection(header: Strings.Views.About.Sections.resources)
|
.themeSection(header: Strings.Views.About.Sections.resources)
|
||||||
Section {
|
Section {
|
||||||
diagnosticsLink
|
diagnosticsLink
|
||||||
|
|
|
@ -34,7 +34,9 @@ extension AboutView {
|
||||||
Section {
|
Section {
|
||||||
linksLink
|
linksLink
|
||||||
creditsLink
|
creditsLink
|
||||||
|
if !iapManager.isRestricted {
|
||||||
donateLink
|
donateLink
|
||||||
|
}
|
||||||
diagnosticsLink
|
diagnosticsLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue