mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
wait before sync
This commit is contained in:
@@ -454,6 +454,7 @@ export const ActionSheetComponent = ({
|
|||||||
) : null;
|
) : null;
|
||||||
|
|
||||||
const onPressSync = async () => {
|
const onPressSync = async () => {
|
||||||
|
let user = await db.user.get();
|
||||||
if (!user) {
|
if (!user) {
|
||||||
ToastEvent.show(
|
ToastEvent.show(
|
||||||
'You must login to sync',
|
'You must login to sync',
|
||||||
|
|||||||
Reference in New Issue
Block a user