mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-24 03:22:18 +00:00
Bump minimum extension lib and WebView versions
This commit is contained in:
parent
415df2357c
commit
fbf13efe74
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ internal object ExtensionLoader {
|
|||
|
||||
private const val EXTENSION_FEATURE = "tachiyomi.extension"
|
||||
private const val METADATA_SOURCE_CLASS = "tachiyomi.extension.class"
|
||||
const val LIB_VERSION_MIN = 1.0
|
||||
const val LIB_VERSION_MIN = 1.2
|
||||
const val LIB_VERSION_MAX = 1.2
|
||||
|
||||
private const val PACKAGE_FLAGS = PackageManager.GET_CONFIGURATIONS or PackageManager.GET_SIGNATURES
|
||||
|
|
|
@ -6,7 +6,7 @@ private val WEBVIEW_UA_VERSION_REGEX by lazy {
|
|||
Regex(""".*Chrome/(\d+)\..*""")
|
||||
}
|
||||
|
||||
private const val MINIMUM_WEBVIEW_VERSION = 70
|
||||
private const val MINIMUM_WEBVIEW_VERSION = 79
|
||||
|
||||
fun WebView.isOutdated(): Boolean {
|
||||
return getWebviewMajorVersion(this) < MINIMUM_WEBVIEW_VERSION
|
||||
|
|
Loading…
Reference in a new issue