chore: update

This commit is contained in:
2026-05-19 18:54:36 +02:00
parent c71b596400
commit 929dea7249
6 changed files with 34 additions and 14 deletions
@@ -642,11 +642,11 @@ export default function ProductsScreen() {
alignItems: "center",
},
comingSoonBtnActive: {
borderColor: "#f59e0b",
backgroundColor: "#f59e0b20",
borderColor: "#22c55e",
backgroundColor: "#22c55e20",
},
comingSoonBtnText: { color: colors.textMuted, fontSize: fontSize.sm },
comingSoonBtnTextActive: { color: "#f59e0b", fontWeight: "700" },
comingSoonBtnTextActive: { color: "#22c55e", fontWeight: "700" },
// Prices
sectionHeader: {
@@ -1027,7 +1027,14 @@ export default function ProductsScreen() {
form.comingSoon && styles.comingSoonBtnActive,
]}
onPress={() =>
setForm((f) => ({ ...f, comingSoon: !f.comingSoon }))
setForm((f) => {
const next = !f.comingSoon;
return {
...f,
comingSoon: next,
prices: f.prices.map((p) => ({ ...p, active: !next })),
};
})
}
>
<Text style={[