Skip to content

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

hide pro tag in ActionSheet

ammarahm-ed4b19dc362287
diff --git a/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js b/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js
index 6263e5fab..55f66d284 100644
--- a/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js
+++ b/apps/mobile/src/components/ActionSheetComponent/ActionSheetTagsSection.js
@@ -207,20 +207,7 @@ export const ActionSheetTagsSection = ({item, close}) => {
borderColor: focused ? colors.accent : colors.nav,
alignItems: 'center',
}}>
- {!premiumUser ? (
- <Paragraph
- color={colors.accent}
- size={SIZE.xs}
- style={{
- marginRight: 4,
- marginTop: 2.5,
- position: 'absolute',
- right: 0,
- top: 0,
- }}>
- PRO
- </Paragraph>
- ) : null}
+
{note.tags.map((item, index) => (
<TagItem
diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.js
index beaad6e42..c95e88f08 100644
--- a/apps/mobile/src/components/ActionSheetComponent/index.js
+++ b/apps/mobile/src/components/ActionSheetComponent/index.js
@@ -307,6 +307,7 @@ export const ActionSheetComponent = ({
close: false,
check: true,
on: note.pinned,
+ nopremium: true,
id: notesnook.ids.dialogs.actionsheet.pin,
},
{
@@ -330,6 +331,7 @@ export const ActionSheetComponent = ({
close: false,
check: true,
on: note.favorite,
+ nopremium: true,
id: notesnook.ids.dialogs.actionsheet.favorite,
color: 'orange',
},
@@ -357,6 +359,7 @@ export const ActionSheetComponent = ({
close: false,
check: true,
on: isPinnedToMenu,
+ nopremium: true,
id: notesnook.ids.dialogs.actionsheet.pinMenu,
},
];
@@ -440,8 +443,6 @@ export const ActionSheetComponent = ({
/>
) : undefined}
- {item.nopremium ? null : <PremiumTag pro={premiumUser} />}
-
{item.check ? (
<Icon
name={