Add video id to stats for nerds

This commit is contained in:
vfsfitvnm 2022-06-25 20:56:40 +02:00
parent b2443dc2af
commit 57c6853793

View file

@ -330,6 +330,10 @@ fun PlayerView(
.padding(all = 16.dp)
) {
Column {
BasicText(
text = "Id",
style = typography.xs.semiBold.color(BlackColorPalette.text)
)
BasicText(
text = "Volume",
style = typography.xs.semiBold.color(BlackColorPalette.text)
@ -349,6 +353,10 @@ fun PlayerView(
}
Column {
BasicText(
text = playerState.mediaItem?.mediaId ?: "Unknown",
style = typography.xs.semiBold.color(BlackColorPalette.text)
)
BasicText(
text = "${playerState.volume.times(100).roundToInt()}%",
style = typography.xs.semiBold.color(BlackColorPalette.text)