optimizations

This commit is contained in:
Sone
2026-05-24 21:34:25 +02:00
parent 7e67fa8ea0
commit c0d472911b
8 changed files with 64 additions and 50 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
import { TouchableOpacity, View } from "react-native";
import { Text } from "react-native-paper";
import { colors } from "@/constants/colors";
interface CustomCheckboxProps {
checked: boolean;
onPress: () => void;
@@ -32,7 +34,7 @@ export const CustomCheckbox = ({
borderRadius: 2,
justifyContent: "center",
alignItems: "center",
backgroundColor: checked ? "#6750a4" : "transparent",
backgroundColor: checked ? colors.primaryPurpleDark : "transparent",
}}
>
{checked && (