mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-12 22:54:03 +01:00
oops
This commit is contained in:
parent
d3486bbd7e
commit
a76d8ef267
@ -228,7 +228,7 @@ struct IceCubesApp: App {
|
|||||||
Purchases.logLevel = .error
|
Purchases.logLevel = .error
|
||||||
Purchases.configure(withAPIKey: "appl_JXmiRckOzXXTsHKitQiicXCvMQi")
|
Purchases.configure(withAPIKey: "appl_JXmiRckOzXXTsHKitQiicXCvMQi")
|
||||||
Purchases.shared.getCustomerInfo { info, _ in
|
Purchases.shared.getCustomerInfo { info, _ in
|
||||||
if info?.entitlements["Supporter"]?.isActive == false {
|
if info?.entitlements["Supporter"]?.isActive == true {
|
||||||
isSupporter = true
|
isSupporter = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -159,7 +159,7 @@ struct SupportAppView: View {
|
|||||||
loadingPlaceholder
|
loadingPlaceholder
|
||||||
} else if let subscription {
|
} else if let subscription {
|
||||||
HStack {
|
HStack {
|
||||||
if customerInfo?.entitlements["Supporter"]?.isActive == false {
|
if customerInfo?.entitlements["Supporter"]?.isActive == true {
|
||||||
Text(Image(systemName: "checkmark.seal.fill"))
|
Text(Image(systemName: "checkmark.seal.fill"))
|
||||||
.foregroundColor(theme.tintColor)
|
.foregroundColor(theme.tintColor)
|
||||||
.baselineOffset(-1) +
|
.baselineOffset(-1) +
|
||||||
|
Loading…
Reference in New Issue
Block a user