Fix page number not appearing when opening chapter (mihonapp/mihon#1936)

(cherry picked from commit 132d77aa9947f891f90f1afcdcb24e20ce515438)
This commit is contained in:
perokhe 2025-03-29 03:52:11 -06:00 committed by Cuong-Tran
parent 7b635662d1
commit 7340f210fb
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
2 changed files with 3 additions and 0 deletions

View file

@ -17,6 +17,7 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co
### Fixes ### Fixes
- Fix Bangumi search results including novels ([@MajorTanya](https://github.com/MajorTanya)) ([#1885](https://github.com/mihonapp/mihon/pull/1885)) - Fix Bangumi search results including novels ([@MajorTanya](https://github.com/MajorTanya)) ([#1885](https://github.com/mihonapp/mihon/pull/1885))
- Fix next chapter button occasionally jumping to the last page of the current chapter ([@perokhe](https://github.com/perokhe)) ([#1920](https://github.com/mihonapp/mihon/pull/1920)) - Fix next chapter button occasionally jumping to the last page of the current chapter ([@perokhe](https://github.com/perokhe)) ([#1920](https://github.com/mihonapp/mihon/pull/1920))
- Fix page number not appearing when opening chapter ([@perokhe](https://github.com/perokhe)) ([#1936](https://github.com/mihonapp/mihon/pull/1936))
- Fix backup sharing from notifications not working when app is in background ([@JaymanR](https://github.com/JaymanR))([#1929](https://github.com/mihonapp/mihon/pull/1929)) - Fix backup sharing from notifications not working when app is in background ([@JaymanR](https://github.com/JaymanR))([#1929](https://github.com/mihonapp/mihon/pull/1929))
## [v0.18.0] - 2025-03-20 ## [v0.18.0] - 2025-03-20

View file

@ -315,6 +315,8 @@ abstract class PagerViewer(
} }
pager.addOnPageChangeListener(pagerListener) pager.addOnPageChangeListener(pagerListener)
// Manually call onPageChange to update the UI
onPageChange(pager.currentItem)
} }
/** /**