This commit is contained in:
Philip Cesar Garay
2025-08-18 15:34:56 +08:00
parent a8ebe8bcc3
commit 5fd72ba2c0
5 changed files with 219 additions and 36 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ const MusicDetails = () => {
resizeMode="contain"
/>
</Pressable>
<Pressable>
<Pressable onPress={() => SheetManager.show("Playlist")}>
<Image
source={icons.check}
style={{ ...size({ size: 24 }) }}
+5 -35
View File
@@ -7,6 +7,7 @@ import { responsiveHeight } from "react-native-responsive-dimensions";
import { BlurView } from "expo-blur";
import { FONT_FAMILY } from "../../styles/Fonts";
import Style, { size } from "../../styles/Style";
import AppCheckbox from "../../components/AppCheckbox";
const LANGUAGE = ["Anglais", "Français", "Chinois", "Japonais", "Coreen"];
@@ -48,43 +49,12 @@ const Language = () => {
</Text>
<View style={{ gap: 12 }}>
{LANGUAGE.map((item, index) => (
<Pressable
<AppCheckbox
key={index}
style={{
...Style.containerRow,
gap: 6,
}}
label={item}
onPress={() => setSelected(item)}
>
<View
style={{
...size({ size: 17 }),
...Style.containerCenter,
borderWidth: 1,
borderRadius: 100,
borderColor: Palette.white,
}}
>
{selected === item && (
<View
style={{
...size({ size: 9 }),
borderRadius: 100,
backgroundColor: Palette.white,
}}
/>
)}
</View>
<Text
style={{
fontSize: 16,
color: Palette.white,
fontFamily: FONT_FAMILY.HelveticaNeueRegular,
}}
>
{item}
</Text>
</Pressable>
selected={selected === item}
/>
))}
</View>
</BlurView>