mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
use private val in MangaCoverMetadata
This commit is contained in:
parent
49aa3a4dbd
commit
b0c2ef0824
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue