diff --git a/app/src/main/java/io/legado/app/help/ReadBookConfig.kt b/app/src/main/java/io/legado/app/help/ReadBookConfig.kt index 30159af98..34183fe63 100644 --- a/app/src/main/java/io/legado/app/help/ReadBookConfig.kt +++ b/app/src/main/java/io/legado/app/help/ReadBookConfig.kt @@ -3,13 +3,18 @@ package io.legado.app.help import android.graphics.drawable.Drawable object ReadBookConfig { - val configList = arrayListOf() + private val configList = arrayListOf() + var styleSelect = 0 var bg: Drawable? = null init { } + fun getConfig(): Config { + return configList[styleSelect] + } + data class Config( var bg: String = "#F3F3F3", var bgInt: Int = 0,