Skip to content

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

fix card displayed with announcement

ammarahm-ed17cd26dd3aaf
diff --git a/apps/mobile/src/components/SimpleList/header.js b/apps/mobile/src/components/SimpleList/header.js
index ad1a4f552..d306235e6 100644
--- a/apps/mobile/src/components/SimpleList/header.js
+++ b/apps/mobile/src/components/SimpleList/header.js
@@ -38,7 +38,7 @@ export const Header = ({
alignItems: 'center',
}}>
{messageCard && (
- <Card color={COLORS_NOTE[title.toLowerCase()] || colors.accent} />
+ <Card announcement={announcement} color={COLORS_NOTE[title.toLowerCase()] || colors.accent} />
)}
</View>
) : (
@@ -47,7 +47,7 @@ export const Header = ({
width: '100%',
}}>
{messageCard && (
- <Card color={COLORS_NOTE[title.toLowerCase()] || colors.accent} />
+ <Card announcement={announcement} color={COLORS_NOTE[title.toLowerCase()] || colors.accent} />
)}
<View
style={{