vfsfitvnm 3 年之前
父節點
當前提交
ccfedf294b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/views/PlayerView.kt

+ 2 - 2
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)