fix: cancel reminders when note is moved to deleted or archived folder in edit screen#950
Conversation
…r in edit note screen
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thanks, looks like I overlooked that scenario :) |
The bug is that the reminder still notify even after I delete a note in the edit screen.
This doesn't happen when I delete notes in the action mode (when selecting multiple notes to delete).
I notice that in the BaseNoteModel.kt has this code:
But in the edit note screen, the code only moves the note to the deleted folder without cancelling the reminders.
Summary by CodeRabbit