Fix MangaBaka User-Agent using raw StringResource (#3578)

* Fix MangaBaka User-Agent using raw StringResource

Using the hardcoded app name for the time being until a better
solution can be found.

* Changelog
This commit is contained in:
MajorTanya
2026-07-12 02:46:10 +02:00
committed by GitHub
parent b9ac9a0422
commit 526d79a975
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co
### Fixed ### Fixed
- Fixed app bars remaining visible after changing pages by tapping in the paged reader after using the chapter navigator slider ([@AntsyLich](https://github.com/AntsyLich)) ([#3567](https://github.com/mihonapp/mihon/pull/3567)) - Fixed app bars remaining visible after changing pages by tapping in the paged reader after using the chapter navigator slider ([@AntsyLich](https://github.com/AntsyLich)) ([#3567](https://github.com/mihonapp/mihon/pull/3567))
- Fixed MangaBaka User Agent string ([@MajorTanya](https://github.com/MajorTanya)) ([#3578](https://github.com/mihonapp/mihon/pull/3578))
## [v0.20.1] - 2026-07-09 ## [v0.20.1] - 2026-07-09
### Added ### Added
@@ -52,7 +52,7 @@ class MangaBakaApi(
.header( .header(
"User-Agent", "User-Agent",
buildString { buildString {
append("${MR.strings.app_name}/v${BuildConfig.VERSION_NAME} ") append("Mihon/v${BuildConfig.VERSION_NAME} ")
append("(${BuildConfig.APPLICATION_ID} ${BuildConfig.COMMIT_SHA}) ") append("(${BuildConfig.APPLICATION_ID} ${BuildConfig.COMMIT_SHA}) ")
append("(Android) (https://github.com/mihonapp/mihon)") append("(Android) (https://github.com/mihonapp/mihon)")
}, },