Skip to content

Commit

Permalink
style(attachment): prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
koepferd committed Jul 11, 2024
1 parent 6e0ea6f commit 914d040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/message/MessageAttachment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const MessageAttachment = (props: MessageAttachmentProps) => {
attachmentStatus === DECRYPTION_FINISHED
)
return translate('e2ee.attachment.save');
else if (props.t === 'e2e' && attachmentStatus != DECRYPTION_FINISHED)
else if (props.t === 'e2e' && attachmentStatus !== DECRYPTION_FINISHED)
return translate(`e2ee.attachment.${attachmentStatus}`);
else return translate('attachments.download.label');
};
Expand Down

0 comments on commit 914d040

Please sign in to comment.