fixed player regression

This commit is contained in:
Blatzar 2021-12-11 21:55:42 +01:00
parent 1e858ddd04
commit 02bc462236

View file

@ -2139,7 +2139,7 @@ class PlayerFragment : Fragment() {
normalSafeApiCall {
val databaseProvider = StandaloneDatabaseProvider(requireContext())
simpleCache = simpleCache ?: SimpleCache(
simpleCache = SimpleCache(
File(
requireContext().filesDir, "exoplayer"
).also { it.deleteOnExit() }, // Ensures always fresh file