Skip to content

Commit

Permalink
Merge pull request #676 from RounakDadsena/jetpack_compose
Browse files Browse the repository at this point in the history
fixed Text artist Double artist page
  • Loading branch information
maxrave-dev authored Jan 19, 2025
2 parents 4f21bee + eff9fa1 commit 74ef2b0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -817,9 +817,13 @@ fun NowPlayingScreen(
animationMode = MarqueeAnimationMode.Immediately,
).focusable()
.clickable {
val song = sharedViewModel.nowPlayingState.value?.songEntity
navController.navigateSafe(
R.id.action_global_artistFragment,
bundleOf("channelId" to screenDataState.songInfoData?.authorId),
bundleOf(
"channelId" to
(song?.artistId?.firstOrNull() ?: screenDataState.songInfoData?.authorId),
),
)
},
)
Expand Down

0 comments on commit 74ef2b0

Please sign in to comment.