From 4ed2ae23d59a3a07cc74ae87100ba30626abd49a Mon Sep 17 00:00:00 2001 From: vfsfitvnm Date: Tue, 2 Aug 2022 21:20:17 +0200 Subject: [PATCH] Add a smaller entry to ExoPlayerDiskCacheMaxSize (#156) --- .../it/vfsfitvnm/vimusic/enums/ExoPlayerDiskCacheMaxSize.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/kotlin/it/vfsfitvnm/vimusic/enums/ExoPlayerDiskCacheMaxSize.kt b/app/src/main/kotlin/it/vfsfitvnm/vimusic/enums/ExoPlayerDiskCacheMaxSize.kt index a613f05..14c7419 100644 --- a/app/src/main/kotlin/it/vfsfitvnm/vimusic/enums/ExoPlayerDiskCacheMaxSize.kt +++ b/app/src/main/kotlin/it/vfsfitvnm/vimusic/enums/ExoPlayerDiskCacheMaxSize.kt @@ -1,6 +1,7 @@ package it.vfsfitvnm.vimusic.enums enum class ExoPlayerDiskCacheMaxSize { + `32MB`, `512MB`, `1GB`, `2GB`, @@ -10,6 +11,7 @@ enum class ExoPlayerDiskCacheMaxSize { val bytes: Long get() = when (this) { + `32MB` -> 32 `512MB` -> 512 `1GB` -> 1024 `2GB` -> 2048