feat(android): complete first successful skip export

This commit is contained in:
Daniel Arantes Loverde
2026-03-20 10:56:22 -03:00
parent cb7bfef356
commit 9bdb9dfdea
22 changed files with 360 additions and 153 deletions

View File

@@ -9,7 +9,7 @@ extension PizzaProductDetailSheet {
.font(AppTypography.heading3)
.foregroundStyle(AppColors.textPrimary)
ForEach(Array(sizeItems.indices), id: \.self) { index in
ForEach(0..<sizeItems.count, id: \.self) { index in
sizeRow(sizeItems[index])
}
}
@@ -83,7 +83,7 @@ extension PizzaProductDetailSheet {
.font(.caption)
.foregroundStyle(AppColors.textMuted)
ForEach(Array(flavorItems.indices), id: \.self) { index in
ForEach(0..<flavorItems.count, id: \.self) { index in
let flavor = flavorItems[index]
let isSelected = selectedFlavorIds.contains(flavor.id)
let price = selectedSizeId.flatMap { flavor.pizzaPrices[$0] } ?? flavor.price
@@ -118,7 +118,7 @@ extension PizzaProductDetailSheet {
.disabled(disableSwitch)
}
.padding(.vertical, 2)
.contentShape(Rectangle())
.appContentShape(Rectangle())
.onTapGesture {
guard isSelected else { return }
guard flavor.addonGroups.contains(where: { $0.items.isEmpty == false }) else { return }
@@ -172,7 +172,7 @@ extension PizzaProductDetailSheet {
Spacer()
}
.contentShape(Rectangle())
.appContentShape(Rectangle())
}
.buttonStyle(.plain)
}