Hide features if cannot buy

This commit is contained in:
Lumaa 2024-03-23 11:13:22 +01:00
parent 19d0fa3290
commit b07467f1a7
1 changed files with 8 additions and 2 deletions

View File

@ -27,8 +27,14 @@ struct ShopView: View {
.frame(width: 100, height: 100)
.padding(.vertical)
if canPay {
features
.padding(.bottom)
} else {
Spacer()
ComingSoonView()
}
Spacer()