Fixed button style

This commit is contained in:
lumaa-dev 2024-09-01 00:51:06 +02:00
parent 0ab1b16383
commit 7a92cad2a9
1 changed files with 8 additions and 6 deletions

View File

@ -12,11 +12,11 @@ struct ShopView: View {
@State private var purchaseError: Bool = false @State private var purchaseError: Bool = false
private var canPay: Bool { private var canPay: Bool {
// #if DEBUG || targetEnvironment(simulator) #if targetEnvironment(simulator)
// return true return true
// #else #else
return false return false
// #endif #endif
} }
var body: some View { var body: some View {
@ -177,6 +177,7 @@ extension ShopView {
} label: { } label: {
planSelector(.monthly, isSelected: selectedPlan == PlusPlan.monthly) planSelector(.monthly, isSelected: selectedPlan == PlusPlan.monthly)
} }
.buttonStyle(.plain)
Button { Button {
@ -187,6 +188,7 @@ extension ShopView {
} label: { } label: {
planSelector(.yearly, isSelected: selectedPlan == PlusPlan.yearly) planSelector(.yearly, isSelected: selectedPlan == PlusPlan.yearly)
} }
.buttonStyle(.plain)
Spacer() Spacer()