fix sync not working in release mode

This commit is contained in:
ammarahm-ed
2021-05-25 10:36:49 +05:00
parent 087e42f267
commit 23b57df47c
17 changed files with 88 additions and 92 deletions

View File

@@ -79,7 +79,7 @@ const SimpleList = ({
}, [listData, deviceMode, loading]);
const _onRefresh = async () => {
await doInBackground(async () => await Sync.run('local'));
await Sync.run('local');
if (refreshCallback) {
refreshCallback();
}