Skip to content

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

fix message card ui on tablet

ammarahm-edfa5a24fa12fc
diff --git a/apps/mobile/src/components/SimpleList/ListHeaderComponent.js b/apps/mobile/src/components/SimpleList/ListHeaderComponent.js
index 7a2ffa5c4..9eacfccb6 100644
--- a/apps/mobile/src/components/SimpleList/ListHeaderComponent.js
+++ b/apps/mobile/src/components/SimpleList/ListHeaderComponent.js
@@ -30,12 +30,16 @@ export const ListHeaderComponent = ({
style={{
minHeight: 50,
marginBottom: 5,
- padding: 12,
+ padding: 0,
width: '100%',
justifyContent: 'center',
alignItems: 'center',
}}>
- {messageCard && <MessageCard />}
+ {messageCard && (
+ <MessageCard
+ color={COLORS_NOTE[title.toLowerCase()] || colors.accent}
+ />
+ )}
</View>
) : (
<View