amalia/03-jun-26 #55

Merged
amaliadwiy merged 361 commits from amalia/03-jun-26 into v-2.2.0 2026-06-08 11:32:17 +08:00
289 changed files with 16523 additions and 4610 deletions
Showing only changes of commit 0bad792ce8 - Show all commits

View File

@@ -65,6 +65,16 @@ export default function Home() {
}
}, [profile, signOut])
useEffect(() => {
if (profile && profile.villageIsActive === false) {
Alert.alert(
'Desa Dinonaktifkan',
'Desa kamu saat ini telah dinonaktifkan. Silahkan hubungi pengelola sistem untuk informasi lebih lanjut.',
[{ text: 'OK', onPress: signOut }]
)
}
}, [profile, signOut])
const handleRefresh = async () => {
setRefreshing(true)
// Invalidate all queries related to the home screen