mirror of
https://github.com/venera-app/venera.git
synced 2025-09-28 16:27:25 +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) {
|
if (chapter < 1) {
|
||||||
chapter = 1;
|
chapter = 1;
|
||||||
}
|
}
|
||||||
|
if (widget.initialPage != null) {
|
||||||
|
page = (widget.initialPage! / imagesPerPage).ceil();
|
||||||
|
}
|
||||||
mode = ReaderMode.fromKey(appdata.settings['readerMode']);
|
mode = ReaderMode.fromKey(appdata.settings['readerMode']);
|
||||||
history = widget.history;
|
history = widget.history;
|
||||||
Future.microtask(() {
|
Future.microtask(() {
|
||||||
|
Reference in New Issue
Block a user