mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Require WebView 86+
This commit is contained in:
parent
b181c49d58
commit
a05d657d4d
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ private val WEBVIEW_UA_VERSION_REGEX by lazy {
|
||||||
Regex(""".*Chrome/(\d+)\..*""")
|
Regex(""".*Chrome/(\d+)\..*""")
|
||||||
}
|
}
|
||||||
|
|
||||||
private const val MINIMUM_WEBVIEW_VERSION = 70
|
private const val MINIMUM_WEBVIEW_VERSION = 86
|
||||||
|
|
||||||
fun WebView.isOutdated(): Boolean {
|
fun WebView.isOutdated(): Boolean {
|
||||||
return getWebviewMajorVersion(this) < MINIMUM_WEBVIEW_VERSION
|
return getWebviewMajorVersion(this) < MINIMUM_WEBVIEW_VERSION
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue