This commit is contained in:
kunfei
2022-02-18 09:24:39 +08:00
parent da99a41e52
commit 0788a78e31
2 changed files with 2 additions and 1 deletions
@@ -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)