wait before sync

This commit is contained in:
ammarahm-ed
2020-12-12 10:04:43 +05:00
parent 453a4ebf15
commit 08b9305876

View File

@@ -454,6 +454,7 @@ export const ActionSheetComponent = ({
) : null;
const onPressSync = async () => {
let user = await db.user.get();
if (!user) {
ToastEvent.show(
'You must login to sync',