Skip to content

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

fix: never show download button while encrypting file

ammarahm-edf0b32c2f1cb1
diff --git a/apps/mobile/src/components/AttachmentDialog/index.js b/apps/mobile/src/components/AttachmentDialog/index.js
index bfdb42c57..3a473fb05 100644
--- a/apps/mobile/src/components/AttachmentDialog/index.js
+++ b/apps/mobile/src/components/AttachmentDialog/index.js
@@ -226,7 +226,7 @@ export const Attachment = ({attachment,encryption}) => {
</View>
</View>
- {currentProgress || encryptionProgress ? (
+ {currentProgress || encryptionProgress || encryption ? (
<TouchableOpacity
activeOpacity={0.9}
onPress={() => {