1
0
Fork 0
mirror of https://github.com/mihonapp/mihon.git synced 2025-02-18 20:09:49 +03:00

Bump default user agent string and minimum WebView version

This commit is contained in:
arkon 2023-03-05 10:17:22 -05:00
parent 1abf01c4a0
commit c6e5f8abd9
2 changed files with 2 additions and 2 deletions
core/src/main/java/eu/kanade/tachiyomi

View file

@ -17,6 +17,6 @@ class NetworkPreferences(
}
fun defaultUserAgent(): Preference<String> {
return preferenceStore.getString("default_user_agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0")
return preferenceStore.getString("default_user_agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:110.0) Gecko/20100101 Firefox/110.0")
}
}

View file

@ -12,7 +12,7 @@ import tachiyomi.core.util.system.logcat
object WebViewUtil {
const val SPOOF_PACKAGE_NAME = "org.chromium.chrome"
const val MINIMUM_WEBVIEW_VERSION = 105
const val MINIMUM_WEBVIEW_VERSION = 108
fun supportsWebView(context: Context): Boolean {
try {