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; ) : 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',