Files
archived-matedroid/fastlane/metadata/android/en-US
Davide Ferrari b1e59baf0c fix(stats): show driving days count when filtering by year (#55)
* build: add make targets for release APK build and install

* fix(stats): show driving days count when filtering by year

The "Driving Days" stat in Stats for Nerds was showing "Null" when
filtering by a specific year because the value was explicitly set to
null in the repository.

Changes:
- Add countDrivingDaysInRange() query to DriveSummaryDao
- Use it in StatsRepository for year-filtered stats
- Add null-safe display in StatsScreen UI (defensive)

Fixes #52

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: lower minSdk to API 28 (Android 9)

The minSdk was unnecessarily bumped to 29 for SQLite window functions,
but those were never actually used - the driving streak calculation
is done in Kotlin instead.

All SQL queries use only julianday() and DATE() functions which are
available on all SQLite versions. The foreground service code already
has proper fallbacks for pre-Android 10 devices.

This restores support for Android 9 devices.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: release v0.9.4

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 09:31:46 +01:00
..