fix: search items list not updating

This commit is contained in:
ammarahm-ed
2022-03-23 12:23:51 +05:00
parent c64ddb4e0c
commit d0a75966ba
17 changed files with 68 additions and 24 deletions

View File

@@ -299,6 +299,7 @@ export const useAppEvents = () => {
console.log('sync started');
await Sync.run();
console.log('hide progress dialog');
await sleep(300);
eSendEvent(eCloseProgressDialog);
}
setLastSynced(await db.lastSynced());