pull/32/head
kunfei 5 years ago
parent 55404365b8
commit 359683804f
  1. 7
      app/src/main/java/io/legado/app/help/ReadBookConfig.kt

@ -3,13 +3,18 @@ package io.legado.app.help
import android.graphics.drawable.Drawable import android.graphics.drawable.Drawable
object ReadBookConfig { object ReadBookConfig {
val configList = arrayListOf<Config>() private val configList = arrayListOf<Config>()
var styleSelect = 0
var bg: Drawable? = null var bg: Drawable? = null
init { init {
} }
fun getConfig(): Config {
return configList[styleSelect]
}
data class Config( data class Config(
var bg: String = "#F3F3F3", var bg: String = "#F3F3F3",
var bgInt: Int = 0, var bgInt: Int = 0,

Loading…
Cancel
Save