Require WebView 86+

This commit is contained in:
Jays2Kings 2020-12-13 17:55:01 -05:00
parent b181c49d58
commit a05d657d4d

View File

@ -19,7 +19,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 = 86
fun WebView.isOutdated(): Boolean {
return getWebviewMajorVersion(this) < MINIMUM_WEBVIEW_VERSION