Hide features if cannot buy
This commit is contained in:
parent
19d0fa3290
commit
b07467f1a7
|
@ -27,8 +27,14 @@ struct ShopView: View {
|
|||
.frame(width: 100, height: 100)
|
||||
.padding(.vertical)
|
||||
|
||||
features
|
||||
.padding(.bottom)
|
||||
if canPay {
|
||||
features
|
||||
.padding(.bottom)
|
||||
} else {
|
||||
Spacer()
|
||||
|
||||
ComingSoonView()
|
||||
}
|
||||
|
||||
Spacer()
|
||||
|
||||
|
|
Loading…
Reference in New Issue