Bump default user agent

This commit is contained in:
AntsyLich 2024-10-31 18:27:32 +06:00 committed by Cuong-Tran
parent 3a12f5e83e
commit 3acfcbec21
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
2 changed files with 5 additions and 2 deletions

View file

@ -11,6 +11,9 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co
- `Other` - for technical stuff. - `Other` - for technical stuff.
## [Unreleased] ## [Unreleased]
### Changed
- Bump default user agent
### Fixed ### Fixed
- Fixed "currentTab was used multiple times" - Fixed "currentTab was used multiple times"
- Fixed a rare crash when invoking "Mark previous as read" action - Fixed a rare crash when invoking "Mark previous as read" action

View file

@ -19,8 +19,8 @@ class NetworkPreferences(
fun defaultUserAgent(): Preference<String> { fun defaultUserAgent(): Preference<String> {
return preferenceStore.getString( return preferenceStore.getString(
"default_user_agent", "default_user_agent",
"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.3", "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Mobile Safari/537.3",
// "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0", // "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0",
) )
} }
} }