Do not drop last song in quick picks if trending song is null
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user