pull/32/head
kunfei 5 years ago
parent 4281f5d870
commit 75cc605764
  1. 3
      app/src/main/java/io/legado/app/help/BlurTransformation.kt
  2. 3
      app/src/main/java/io/legado/app/help/ReadBookConfig.kt

@ -14,6 +14,9 @@ import com.bumptech.glide.load.resource.bitmap.BitmapTransformation
import java.security.MessageDigest
/**
* 模糊
*/
class BlurTransformation(context: Context, private val radius: Int) : BitmapTransformation() {
private val rs: RenderScript = RenderScript.create(context)

@ -13,6 +13,9 @@ import java.io.File
import java.io.FileWriter
import java.io.IOException
/**
* 阅读界面配置
*/
object ReadBookConfig {
private val configList: ArrayList<Config> by lazy {
val list: ArrayList<Config> = arrayListOf()

Loading…
Cancel
Save