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)
|
.frame(width: 100, height: 100)
|
||||||
.padding(.vertical)
|
.padding(.vertical)
|
||||||
|
|
||||||
features
|
if canPay {
|
||||||
.padding(.bottom)
|
features
|
||||||
|
.padding(.bottom)
|
||||||
|
} else {
|
||||||
|
Spacer()
|
||||||
|
|
||||||
|
ComingSoonView()
|
||||||
|
}
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue