Do not drop last song in quick picks if trending song is null
This commit is contained in:
parent
f68726710b
commit
8fd402b5ce
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ fun QuickPicks(
|
|||
}
|
||||
|
||||
items(
|
||||
items = related.songs?.dropLast(1) ?: emptyList(),
|
||||
items = related.songs?.dropLast(if (trending == null) 0 else 1) ?: emptyList(),
|
||||
key = Innertube.SongItem::key
|
||||
) { song ->
|
||||
SongItem(
|
||||
|
|
Loading…
Reference in a new issue