Disabled buy buttons to prevent inactive payments
This commit is contained in:
parent
0c69945d50
commit
d356a9b337
|
@ -29,7 +29,7 @@ struct ShopView: View {
|
||||||
} label: {
|
} label: {
|
||||||
Text("shop.threaded-plus.subscription")
|
Text("shop.threaded-plus.subscription")
|
||||||
}
|
}
|
||||||
.buttonStyle(LargeButton(filled: true))
|
.buttonStyle(LargeButton(filled: true, disabled: true))
|
||||||
.overlay(alignment: .topTrailing) {
|
.overlay(alignment: .topTrailing) {
|
||||||
Text("shop.best")
|
Text("shop.best")
|
||||||
.foregroundStyle(Color.white)
|
.foregroundStyle(Color.white)
|
||||||
|
@ -41,13 +41,15 @@ struct ShopView: View {
|
||||||
.offset(x: 20.0, y: -25.0)
|
.offset(x: 20.0, y: -25.0)
|
||||||
.rotationEffect(.degrees(25.0))
|
.rotationEffect(.degrees(25.0))
|
||||||
}
|
}
|
||||||
|
.disabled(true)
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
showLifetime.toggle()
|
showLifetime.toggle()
|
||||||
} label: {
|
} label: {
|
||||||
Text("shop.threaded-plus.lifetime")
|
Text("shop.threaded-plus.lifetime")
|
||||||
}
|
}
|
||||||
.buttonStyle(LargeButton(filled: false))
|
.buttonStyle(LargeButton(filled: false, disabled: true))
|
||||||
|
.disabled(true)
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
dismiss()
|
dismiss()
|
||||||
|
|
Loading…
Reference in New Issue