优化
This commit is contained in:
@@ -77,6 +77,7 @@ object AppConst {
|
|||||||
"androidx.appcompat.view.menu.ListMenuItemView"
|
"androidx.appcompat.view.menu.ListMenuItemView"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@SuppressLint("PrivateResource")
|
||||||
val sysElevation = appCtx.resources.getDimension(R.dimen.design_appbar_elevation).toInt()
|
val sysElevation = appCtx.resources.getDimension(R.dimen.design_appbar_elevation).toInt()
|
||||||
|
|
||||||
val androidId: String by lazy {
|
val androidId: String by lazy {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package io.legado.app.constant
|
|||||||
|
|
||||||
import java.util.regex.Pattern
|
import java.util.regex.Pattern
|
||||||
|
|
||||||
@Suppress("RegExpRedundantEscape")
|
@Suppress("RegExpRedundantEscape", "unused")
|
||||||
object AppPattern {
|
object AppPattern {
|
||||||
val JS_PATTERN: Pattern =
|
val JS_PATTERN: Pattern =
|
||||||
Pattern.compile("<js>([\\w\\W]*?)</js>|@js:([\\w\\W]*)", Pattern.CASE_INSENSITIVE)
|
Pattern.compile("<js>([\\w\\W]*?)</js>|@js:([\\w\\W]*)", Pattern.CASE_INSENSITIVE)
|
||||||
|
|||||||
Reference in New Issue
Block a user