From ccfedf294b24a101d3d3777793ec14cb5992822c Mon Sep 17 00:00:00 2001 From: vfsfitvnm Date: Wed, 29 Jun 2022 21:50:29 +0200 Subject: [PATCH] Fix typo --- .../main/kotlin/it/vfsfitvnm/vimusic/ui/views/PlayerView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/views/PlayerView.kt b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/views/PlayerView.kt index 3e1c3b6..418a306 100644 --- a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/views/PlayerView.kt +++ b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/views/PlayerView.kt @@ -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)