Show the offline playlist regardless the grid expanded state (#162)
This commit is contained in:
parent
2eea488fc9
commit
52af3df1c6
1 changed files with 13 additions and 15 deletions
|
@ -481,21 +481,19 @@ fun HomeScreen() {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (playlistGridExpanded) {
|
item(key = "offline") {
|
||||||
item(key = "offline") {
|
BuiltInPlaylistItem(
|
||||||
BuiltInPlaylistItem(
|
icon = R.drawable.airplane,
|
||||||
icon = R.drawable.airplane,
|
colorTint = colorPalette.blue,
|
||||||
colorTint = colorPalette.blue,
|
name = "Offline",
|
||||||
name = "Offline",
|
modifier = Modifier
|
||||||
modifier = Modifier
|
.padding(all = 8.dp)
|
||||||
.padding(all = 8.dp)
|
.clickable(
|
||||||
.clickable(
|
indication = rememberRipple(bounded = true),
|
||||||
indication = rememberRipple(bounded = true),
|
interactionSource = remember { MutableInteractionSource() },
|
||||||
interactionSource = remember { MutableInteractionSource() },
|
onClick = { builtInPlaylistRoute(BuiltInPlaylist.Offline) }
|
||||||
onClick = { builtInPlaylistRoute(BuiltInPlaylist.Offline) }
|
)
|
||||||
)
|
)
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
items(
|
items(
|
||||||
|
|
Loading…
Reference in a new issue