Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix episode title being centered
Change-Id: Iaea2200a99355e025d328ef8e4bc0e52a9479d55
  • Loading branch information
Chris Banes committed Oct 8, 2020
commit 37973a6c02fdee62213332e495d614c5adda1c0e
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,14 @@ fun EpisodeListItem(
overflow = TextOverflow.Ellipsis,
style = MaterialTheme.typography.caption,
modifier = Modifier.constrainAs(date) {
start.linkTo(playIcon.end, margin = 12.dp)
end.linkTo(addPlaylist.start, margin = 16.dp)
centerVerticallyTo(playIcon)

width = Dimension.fillToConstraints
linkTo(
start = playIcon.end,
startMargin = 12.dp,
end = addPlaylist.start,
endMargin = 16.dp,
bias = 0f // float this towards the start
)
}
)

Expand Down