mirror of
https://github.com/null2264/yokai.git
synced 2025-06-20 18:24:42 +00:00
feat: update user agent (#401)
* Switch default user agent to Android Chrome * Emparejamiento con mihon * Update User-Agent
This commit is contained in:
parent
0e0e865cb9
commit
33d7c3cd2b
1 changed files with 1 additions and 1 deletions
|
@ -14,6 +14,6 @@ class NetworkPreferences(
|
||||||
fun defaultUserAgent() = preferenceStore.getString("default_user_agent", DEFAULT_USER_AGENT)
|
fun defaultUserAgent() = preferenceStore.getString("default_user_agent", DEFAULT_USER_AGENT)
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
const val DEFAULT_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0"
|
const val DEFAULT_USER_AGENT = "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Mobile Safari/537.36"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue