upd : group

This commit is contained in:
amel
2025-03-13 11:37:59 +08:00
parent 4111392f17
commit 88084c9969
2 changed files with 4 additions and 4 deletions

View File

@@ -38,14 +38,11 @@ export default function RootLayout() {
icon={<AntDesign name="pluscircle" color="black" size={25} />}
title="Tambah Lembaga"
onPress={() => {
console.log('yeal')
setVisible(false);
// open the 2nd modal
setTimeout(
() => {
setVisibleTambah(true)
},
// any small number will do, maybe animation duration
100,
);

View File

@@ -116,7 +116,10 @@ export default function Index() {
<MenuItemRow
icon={<MaterialCommunityIcons name="pencil-outline" color="black" size={25} />}
title="Edit"
onPress={() => { setVisibleEdit(true) }}
onPress={() => {
setModal(false)
setVisibleEdit(true)
}}
/>
</View>
</DrawerBottom>