Skip to content

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

fix: premium users unable to reupload files

ammarahm-ed5b2681e69583
diff --git a/apps/mobile/src/components/attachments/actions.js b/apps/mobile/src/components/attachments/actions.js
index d7793ef63..6b81b7af5 100644
--- a/apps/mobile/src/components/attachments/actions.js
+++ b/apps/mobile/src/components/attachments/actions.js
@@ -43,7 +43,7 @@ const Actions = ({ attachment, setAttachments }) => {
{
name: 'Reupload',
onPress: async () => {
- if (PremiumService.get()) {
+ if (!PremiumService.get()) {
ToastEvent.show({
heading: 'Upgrade to pro',
type: 'error',