use private val in MangaCoverMetadata

This commit is contained in:
Jays2Kings 2022-05-16 00:52:44 -04:00
parent 49aa3a4dbd
commit b0c2ef0824

View file

@ -15,8 +15,8 @@ import java.util.concurrent.ConcurrentHashMap
object MangaCoverMetadata {
private var coverRatioMap = ConcurrentHashMap<Long, Float>()
private var coverColorMap = ConcurrentHashMap<Long, Pair<Int, Int>>()
val preferences by injectLazy<PreferencesHelper>()
val coverCache by injectLazy<CoverCache>()
private val preferences by injectLazy<PreferencesHelper>()
private val coverCache by injectLazy<CoverCache>()
fun load() {
val ratios = preferences.coverRatios().get()