pull/1630/head
kunfei 3 years ago
parent da99a41e52
commit 0788a78e31
  1. 1
      app/src/main/java/io/legado/app/constant/AppConst.kt
  2. 2
      app/src/main/java/io/legado/app/constant/AppPattern.kt

@ -77,6 +77,7 @@ object AppConst {
"androidx.appcompat.view.menu.ListMenuItemView"
)
@SuppressLint("PrivateResource")
val sysElevation = appCtx.resources.getDimension(R.dimen.design_appbar_elevation).toInt()
val androidId: String by lazy {

@ -2,7 +2,7 @@ package io.legado.app.constant
import java.util.regex.Pattern
@Suppress("RegExpRedundantEscape")
@Suppress("RegExpRedundantEscape", "unused")
object AppPattern {
val JS_PATTERN: Pattern =
Pattern.compile("<js>([\\w\\W]*?)</js>|@js:([\\w\\W]*)", Pattern.CASE_INSENSITIVE)

Loading…
Cancel
Save