Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

show syncing dialog on running forced sync

ammarahm-ed8bbf8ecfec62
diff --git a/apps/mobile/src/views/Settings/usersection.js b/apps/mobile/src/views/Settings/usersection.js
index ab3b61434..16f8886b0 100644
--- a/apps/mobile/src/views/Settings/usersection.js
+++ b/apps/mobile/src/views/Settings/usersection.js
@@ -288,7 +288,14 @@ const SettingsUserSection = () => {
{
name: 'Having problems with syncing?',
func: async () => {
+ presentSheet({
+ title: 'Syncing your data',
+ paragraph: 'Please wait while we sync all your data.',
+ progress:true
+ });
await Sync.run('global', true);
+ eSendEvent(eCloseProgressDialog);
+
},
desc: 'Try force sync to resolve issues with syncing.'
},