Skip to content

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

fix card displayed with announcement

ammarahm-edbc80c93909d7
diff --git a/apps/mobile/src/components/SimpleList/card.js b/apps/mobile/src/components/SimpleList/card.js
index 1c64c2c3b..0807dd965 100644
--- a/apps/mobile/src/components/SimpleList/card.js
+++ b/apps/mobile/src/components/SimpleList/card.js
@@ -9,11 +9,10 @@ import {SIZE} from '../../utils/SizeUtils';
import useAnnouncement from '../../utils/useAnnouncement';
import Paragraph from '../Typography/Paragraph';
-export const Card = ({data, color,announcement}) => {
+export const Card = ({data, color, announcement}) => {
const [state] = useTracked();
const {selectionMode, messageBoardState} = state;
-
return !messageBoardState.visible || selectionMode || announcement ? null : (
<TouchableOpacity
activeOpacity={0.8}