mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
Fix thumbnail tap functionality to navigate to the correct reader page (#205)
This commit is contained in:
@@ -156,6 +156,9 @@ class _ReaderState extends State<Reader> with _ReaderLocation, _ReaderWindow {
|
||||
if (chapter < 1) {
|
||||
chapter = 1;
|
||||
}
|
||||
if (widget.initialPage != null) {
|
||||
page = (widget.initialPage! / imagesPerPage).ceil();
|
||||
}
|
||||
mode = ReaderMode.fromKey(appdata.settings['readerMode']);
|
||||
history = widget.history;
|
||||
Future.microtask(() {
|
||||
|
Reference in New Issue
Block a user