mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 14:39:34 +01:00
update user
This commit is contained in:
@@ -475,8 +475,7 @@ export const ActionSheetComponent = ({
|
||||
ToastEvent.show(e.message, 'error', 'local', 5000);
|
||||
}
|
||||
} finally {
|
||||
let user = await db.user.get();
|
||||
dispatch({type: Actions.USER, user: user});
|
||||
dispatch({type: Actions.LAST_SYNC,lastSync: await db.lastSynced()});
|
||||
dispatch({type: Actions.ALL});
|
||||
setRefreshing(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user