chore: Bump default user agent

This commit is contained in:
AntsyLich 2024-12-01 08:27:22 +07:00 committed by Ahmad Ansori Palembani
parent f7450b8d17
commit d800f183e7
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 14 additions and 13 deletions

View file

@ -13,11 +13,11 @@ The format is simplified version of [Keep a Changelog](https://keepachangelog.co
### Additions ### Additions
- Sync DoH provider list with upstream (added Mullvad, Control D, Njalla, and Shecan) - Sync DoH provider list with upstream (added Mullvad, Control D, Njalla, and Shecan)
- Added option to enable verbose logging - Add option to enable verbose logging
- Added category hopper long-press action to open random series from **any** category - Add category hopper long-press action to open random series from **any** category
- Added option to enable reader debug mode - Add option to enable reader debug mode
- Added option to adjust reader's hardware bitmap threshold (@AntsyLich) - Add option to adjust reader's hardware bitmap threshold (@AntsyLich)
- Added option to scan local entries from `/storage/(sdcard|emulated/0)/Android/data/<yokai>/files/local` - Add option to scan local entries from `/storage/(sdcard|emulated/0)/Android/data/<yokai>/files/local`
### Changes ### Changes
- Enable 'Split Tall Images' by default (@Smol-Ame) - Enable 'Split Tall Images' by default (@Smol-Ame)
@ -28,14 +28,15 @@ The format is simplified version of [Keep a Changelog](https://keepachangelog.co
- Logs are now written to a file for easier debugging - Logs are now written to a file for easier debugging
### Fixes ### Fixes
- Fixed only few DoH provider is actually being used (Cloudflare, Google, AdGuard, and Quad9) - Fix only few DoH provider is actually being used (Cloudflare, Google, AdGuard, and Quad9)
- Fixed "Group by Ungrouped" showing duplicate entries - Fix "Group by Ungrouped" showing duplicate entries
- Fixed reader sometimes won't load images - Fix reader sometimes won't load images
- Handle some uncaught crashes - Handle some uncaught crashes
- Fixed crashes due to GestureDetector's firstEvent is sometimes null on some devices - Fix crashes due to GestureDetector's firstEvent is sometimes null on some devices
- Fixed download failed due to invalid XML 1.0 character - Fix download failed due to invalid XML 1.0 character
- Fixed issues with shizuku in a multi-user setup (@Redjard) - Fix issues with shizuku in a multi-user setup (@Redjard)
- Fixed some regional/variant languages is not listed in app language option - Fix some regional/variant languages is not listed in app language option
- Fix browser not opening in some cases in Honor devices (@MajorTanya)
### Other ### Other
- Simplify network helper code - Simplify network helper code

View file

@ -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:128.0) Gecko/20100101 Firefox/128.0" const val DEFAULT_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0"
} }
} }