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

This commit is contained in:
perokhe
2025-03-29 03:52:11 -06:00
committed by GitHub
parent b00bbe91be
commit 132d77aa99
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
- 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 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))
## [v0.18.0] - 2025-03-20

View File

@ -291,6 +291,8 @@ abstract class PagerViewer(val activity: ReaderActivity) : Viewer {
}
pager.addOnPageChangeListener(pagerListener)
// Manually call onPageChange to update the UI
onPageChange(pager.currentItem)
}
/**