Skip to content

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

fix color of menu pins

ammarahm-edaa1d5b0f2dad
diff --git a/apps/mobile/src/components/Menu/TagsSection.js b/apps/mobile/src/components/Menu/TagsSection.js
index c9e261f48..4e3f4d640 100644
--- a/apps/mobile/src/components/Menu/TagsSection.js
+++ b/apps/mobile/src/components/Menu/TagsSection.js
@@ -120,7 +120,7 @@ const PinItem = ({item, index, onPress}) => {
const {colors} = state;
const [visible, setVisible] = useState(false);
const [headerTextState, setHeaderTextState] = useState(null);
- const color = headerTextState?.id === item.id ? colors.pri : colors.accent;
+ const color = headerTextState?.id === item.id ? colors.accent : colors.pri;
const onHeaderStateChange = (event) => {
if (event?.id === item.id) {
@@ -193,12 +193,12 @@ const PinItem = ({item, index, onPress}) => {
) : item.type === 'tag' ? (
<Icon color={color} size={SIZE.md} name="pound" />
) : (
- <Paragraph
+ <Heading
style={{textAlign: 'center', width: 12}}
color={color}
size={SIZE.md}>
T
- </Paragraph>
+ </Heading>
)}
</View>
<View