Skip to content

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

mobile: fix download all attachments progress

ammarahm-ed6a748c3f9896
diff --git a/apps/mobile/app/components/attachments/download-attachments.js b/apps/mobile/app/components/attachments/download-attachments.js
index 1a37e2f65..6514a4e7f 100644
--- a/apps/mobile/app/components/attachments/download-attachments.js
+++ b/apps/mobile/app/components/attachments/download-attachments.js
@@ -157,7 +157,7 @@ const DownloadAttachments = ({ close, attachments, isNote, update }) => {
width={null}
animated={true}
useNativeDriver
- progress={progress.value ? progress.value / 100 : 0}
+ progress={progress.value ? progress.value / attachments.length : 0}
unfilledColor={colors.nav}
color={colors.accent}
borderWidth={0}