upd: pressout jadi press

This commit is contained in:
amel
2025-03-13 11:58:02 +08:00
parent 99b7fb656f
commit 5e94c60a2f
7 changed files with 7 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ export default function DrawerBottom({ isVisible, setVisible, title, children, a
<View style={[Styles.modalContent, height != undefined && { height: `${height}%` }]}>
<View style={Styles.titleContainer}>
<Text style={Styles.textDefault}>{title}</Text>
<Pressable onPressOut={() => setVisible(false)}>
<Pressable onPress={() => setVisible(false)}>
<MaterialIcons name="close" color="black" size={22} />
</Pressable>
</View>