Skip to content

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

mobile: handle disabled reminders

ammarahm-ede4ba2acd9923
diff --git a/apps/mobile/app/components/list-items/reminder/index.tsx b/apps/mobile/app/components/list-items/reminder/index.tsx
index 389c4fa31..22578274f 100644
--- a/apps/mobile/app/components/list-items/reminder/index.tsx
+++ b/apps/mobile/app/components/list-items/reminder/index.tsx
@@ -57,7 +57,8 @@ const ReminderItem = React.memo(
<View
style={{
flexWrap: "wrap",
- flexShrink: 1
+ flexShrink: 1,
+ opacity: item.disabled ? 0.5 : 1
}}
>
<Heading
@@ -144,7 +145,7 @@ const ReminderItem = React.memo(
</Paragraph>
</View>
) : null}
- {item.date ? (
+ {item.date && !item.disabled ? (
<View
style={{
backgroundColor: colors.nav,