Fix total pages not updating for new archives

This commit is contained in:
FooIbar committed 2023-10-18 00:22:37 +08:00
1 parent a880f801fb
commit 1a092bb200
1 file changed
+1
@@ -288,6 +288,7 @@ class ReaderActivity : EhActivity() {
it.start()
if (it.awaitReady()) {
withUIContext {
totalPage = it.size
viewer?.setGalleryProvider(it)
moveToPageIndex(0)
}