Disabled buy buttons to prevent inactive payments

This commit is contained in:
Lumaa 2024-02-12 12:47:43 +01:00
parent 0c69945d50
commit d356a9b337
1 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,7 @@ struct ShopView: View {
} label: {
Text("shop.threaded-plus.subscription")
}
.buttonStyle(LargeButton(filled: true))
.buttonStyle(LargeButton(filled: true, disabled: true))
.overlay(alignment: .topTrailing) {
Text("shop.best")
.foregroundStyle(Color.white)
@ -41,13 +41,15 @@ struct ShopView: View {
.offset(x: 20.0, y: -25.0)
.rotationEffect(.degrees(25.0))
}
.disabled(true)
Button {
showLifetime.toggle()
} label: {
Text("shop.threaded-plus.lifetime")
}
.buttonStyle(LargeButton(filled: false))
.buttonStyle(LargeButton(filled: false, disabled: true))
.disabled(true)
Button {
dismiss()