Skip to content

feat: sanitize navigation bar corner radius and improve home stats logic#1965

Merged
theovilardo merged 1 commit into
masterfrom
fix/corner-negative-crash-and-listening-stats-accesibility
May 11, 2026
Merged

feat: sanitize navigation bar corner radius and improve home stats logic#1965
theovilardo merged 1 commit into
masterfrom
fix/corner-negative-crash-and-listening-stats-accesibility

Conversation

@theovilardo
Copy link
Copy Markdown
Owner

  • Implement sanitizeNavBarCornerRadius to clamp values between 0 and 60 across the repository and UI components.
  • Update StatsViewModel to provide a homeOverview flow that automatically selects the best time range (Week, Month, Year, or All) based on available listening activity.
  • Update HomeScreen to display the dynamic listening stats overview.
  • Add unit tests for navigation bar corner radius clamping and backup restoration.
  • Fix nullability warnings in MainCoroutineExtension for JUnit 5 callbacks.

- Implement `sanitizeNavBarCornerRadius` to clamp values between 0 and 60 across the repository and UI components.
- Update `StatsViewModel` to provide a `homeOverview` flow that automatically selects the best time range (Week, Month, Year, or All) based on available listening activity.
- Update `HomeScreen` to display the dynamic listening stats overview.
- Add unit tests for navigation bar corner radius clamping and backup restoration.
- Fix nullability warnings in `MainCoroutineExtension` for JUnit 5 callbacks.
@theovilardo theovilardo merged commit 2a5852d into master May 11, 2026
3 of 4 checks passed
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.

1 participant