Skip to content

fix: remove redundant elvis operator in PlaylistDetailScreen#72

Merged
chrisuthe merged 1 commit intomainfrom
fix/remove-redundant-elvis-operator
Mar 8, 2026
Merged

fix: remove redundant elvis operator in PlaylistDetailScreen#72
chrisuthe merged 1 commit intomainfrom
fix/remove-redundant-elvis-operator

Conversation

@chrisuthe
Copy link
Copy Markdown
Owner

Summary

  • Removed unnecessary elvis operator (?:) on track.name in PlaylistDetailScreen.kt line 180
  • MaTrack.name is a non-nullable String, so the ?: "Track" fallback was dead code producing a compiler warning

Test plan

  • Verify the project compiles without the elvis operator warning
  • Verify playlist detail screen still displays track names correctly

MaTrack.name is a non-nullable String, so the elvis fallback
?: "Track" was dead code causing a compiler warning.
@chrisuthe chrisuthe merged commit bf0a4a9 into main Mar 8, 2026
@chrisuthe chrisuthe deleted the fix/remove-redundant-elvis-operator branch March 8, 2026 02:48
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