ADFA-2570 Changed the targetDate to April 26, 2026#846
Conversation
📝 WalkthroughRelease Notes
Risk Considerations
Recommendations
WalkthroughA target date for a warning dialog in MainActivity.kt is updated from January 26, 2026 to April 26, 2026, with corresponding updates to the Calendar initialization logic and month value (0-indexed). Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 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
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
✏️ Tip: You can disable this entire section by setting 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 |
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
app/src/main/java/com/itsaky/androidide/activities/MainActivity.kt (1)
141-148: Boundary is inclusive of April 26 (likely off‑by‑one day).
Calendar.set(2026, 3, 26)defaults to 00:00. That means any time on April 26 will be “after” the target, so the dialog shows on April 26 rather than after April 26. If the intent is April 27 onward, move the cutoff to the start of April 27 or compare date-only.✅ Minimal fix (shift cutoff to April 27 00:00)
- // Show warning dialog if today's date is after April 26, 2026 + // Show warning dialog if today's date is after April 26, 2026 val targetDate = java.util.Calendar.getInstance().apply { - set(2026, 3, 26) // Month is 0-indexed, so 3 = April + set(2026, 3, 27, 0, 0, 0) // Month is 0-indexed, so 3 = April + set(java.util.Calendar.MILLISECOND, 0) }
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
app/src/main/java/com/itsaky/androidide/activities/MainActivity.kt
✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.
No description provided.