Skip to content

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

fix error on backup first time

ammarahm-ed8ebc58cfa6e1
diff --git a/apps/mobile/src/views/Settings/index.js b/apps/mobile/src/views/Settings/index.js
index 412509764..ddf8b7659 100644
--- a/apps/mobile/src/views/Settings/index.js
+++ b/apps/mobile/src/views/Settings/index.js
@@ -117,7 +117,7 @@ export const Settings = ({ navigation}) => {
name: 'Backup data',
func: async () => {
if (Platform.OS === 'android') {
- let granted = storage.requestPermission();
+ let granted = await storage.requestPermission();
if (!granted) {
ToastEvent.show('Backup failed! Storage access was denied.');
return;