Skip to content

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

add pinned items header

ammarahm-ed71300b18bc7d
diff --git a/apps/mobile/src/components/Menu/TagsSection.js b/apps/mobile/src/components/Menu/TagsSection.js
index dfbc95aa1..c2e91059a 100644
--- a/apps/mobile/src/components/Menu/TagsSection.js
+++ b/apps/mobile/src/components/Menu/TagsSection.js
@@ -76,6 +76,24 @@ export const TagsSection = () => {
</Paragraph>
</View>
}
+ ListHeaderComponent={
+ <Heading
+ color={colors.accent}
+ style={{
+ paddingHorizontal: 8,
+ textAlignVertical: 'center',
+ height:35
+ }}
+ size={SIZE.sm}>
+ Your Pins{'\n'}
+ <Paragraph
+ style={{textAlign: 'center'}}
+ color={colors.icon}
+ size={SIZE.xs}>
+ Tap and hold to unpin.
+ </Paragraph>
+ </Heading>
+ }
renderItem={({item, index}) => (
<PinItem key={item.id} item={item} index={index} onPress={onPress} />
)}