update list ui

This commit is contained in:
ammarahm-ed
2020-12-16 20:01:39 +05:00
parent add0c1ae35
commit aedcca92b3

View File

@@ -41,14 +41,17 @@ export const ListHeaderComponent = ({
<View
style={{
minHeight: 195,
marginBottom: 5,
padding: 12,
width: '100%',
backgroundColor: COLORS_NOTE[title.toLowerCase()]
? hexToRGBA(COLORS_NOTE[title.toLowerCase()], 0.15)
: color || colors.shade,
}}>
{messageCard && <MessageCard color={COLORS_NOTE[title.toLowerCase()] || colors.accent} />}
{messageCard && (
<MessageCard
color={COLORS_NOTE[title.toLowerCase()] || colors.accent}
/>
)}
<View
style={{