Skip to content

fix: update About copyright to dynamic year range#496

Closed
torlando-tech wants to merge 3 commits intomainfrom
fix/about-copyright-year
Closed

fix: update About copyright to dynamic year range#496
torlando-tech wants to merge 3 commits intomainfrom
fix/about-copyright-year

Conversation

@torlando-tech
Copy link
Copy Markdown
Owner

Summary

  • Copyright in About screen was hardcoded to "2025"
  • Now uses java.time.Year.now() to show "2025–" dynamically

Closes #490

Test plan

  • Open Settings > About — verify copyright shows "2025–2026"

🤖 Generated with Claude Code

torlando-tech and others added 2 commits February 17, 2026 21:52
…-scrollable

fix: make announce filter dialog scrollable on short displays
The copyright notice was hardcoded to "2025". Uses java.time.Year.now()
to always show "2025–<current year>" so it never goes stale.

Closes #490

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Feb 18, 2026

Greptile Summary

Updated copyright year from hardcoded "2025" to dynamic range "2025–" using java.time.Year.now().

Critical Issue Found:

  • java.time.Year requires API 26+, but the app has minSdk = 24
  • This will crash on Android 7.0-7.1 devices (API 24-25)
  • The app does not use core library desugaring to backport java.time APIs
  • Recommend using java.util.Calendar instead, which is available on all API levels

Confidence Score: 1/5

  • This PR introduces a critical API compatibility bug that will crash the app on supported Android versions
  • The change uses java.time.Year which requires API 26+, but the app supports API 24+. This will cause runtime crashes on Android 7.0-7.1 devices, which are still within the app's supported range. The app does not use core library desugaring to backport these APIs.
  • AboutCard.kt requires immediate attention - the API compatibility issue must be fixed before merging

Important Files Changed

Filename Overview
app/src/main/java/com/lxmf/messenger/ui/screens/settings/cards/AboutCard.kt Updated copyright year to dynamic range, but uses API 26+ java.time.Year on minSdk 24 app (will crash on Android 7.0-7.1)

Last reviewed commit: a094617

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@sentry
Copy link
Copy Markdown
Contributor

sentry bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

…/AboutCard.kt

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Date in About is still at the year 2025

1 participant