mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
fix sync not working in release mode
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user