Skip to content

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

mobile: fix reminder date picker not going in past

ammarahm-edfca26a87930e
diff --git a/apps/mobile/app/components/sheets/reminder/index.tsx b/apps/mobile/app/components/sheets/reminder/index.tsx
index ff29647dc..d03b1a354 100644
--- a/apps/mobile/app/components/sheets/reminder/index.tsx
+++ b/apps/mobile/app/components/sheets/reminder/index.tsx
@@ -434,11 +434,6 @@ export default function ReminderSheet({
<DatePicker
date={date}
- minimumDate={
- dayjs(date).subtract(3, "months").isBefore(dayjs())
- ? dayjs().toDate()
- : dayjs(date).subtract(3, "months").toDate()
- }
maximumDate={dayjs(date).add(3, "months").toDate()}
onDateChange={handleConfirm}
textColor={colors.night ? "#ffffff" : "#000000"}