This commit is contained in:
vfsfitvnm 2022-06-29 21:50:29 +02:00
parent fd41e78625
commit ccfedf294b

View file

@ -381,8 +381,8 @@ fun PlayerView(
text = buildString {
append(Formatter.formatShortFileSize(context, cachedBytes))
song?.contentLength?.let { contentLenght ->
append(" (${(cachedBytes.toFloat() / contentLenght * 100).roundToInt()}%)")
song?.contentLength?.let { contentLength ->
append(" (${(cachedBytes.toFloat() / contentLength * 100).roundToInt()}%)")
}
},
style = typography.xs.semiBold.color(BlackColorPalette.text)