A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: fix ios app remains stuck when restoring backup from list
Ammar Ahmedee3b7b5d7d89
diff --git a/apps/mobile/app/screens/settings/restore-backup/index.tsx b/apps/mobile/app/screens/settings/restore-backup/index.tsxindex 0c1e8b6b2..a6487aa94 100644--- a/apps/mobile/app/screens/settings/restore-backup/index.tsx+++ b/apps/mobile/app/screens/settings/restore-backup/index.tsx@@ -570,13 +570,17 @@ const BackupItem = ({paragraph: strings.restoreBackupConfirm(),positiveText: strings.restore(),negativeText: strings.cancel(),+ context: "global",positivePress: async () => {- restoreBackup({- uri:- Platform.OS === "android"- ? (item as ScopedStorage.FileType).uri- : (item as ReactNativeBlobUtilStat).path- });+ setTimeout(() => {+ restoreBackup({+ uri:+ Platform.OS === "android"+ ? (item as ScopedStorage.FileType).uri+ : (item as ReactNativeBlobUtilStat).path+ });+ }, 500);+ return true;}});}}