mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
@@ -212,7 +212,11 @@ class _ReaderState extends State<Reader> with _ReaderLocation, _ReaderWindow {
|
|||||||
if(history != null) {
|
if(history != null) {
|
||||||
history!.page = page;
|
history!.page = page;
|
||||||
history!.ep = chapter;
|
history!.ep = chapter;
|
||||||
|
if (maxPage > 1) {
|
||||||
|
history!.maxPage = maxPage;
|
||||||
|
}
|
||||||
history!.readEpisode.add(chapter);
|
history!.readEpisode.add(chapter);
|
||||||
|
history!.time = DateTime.now();
|
||||||
HistoryManager().addHistory(history!);
|
HistoryManager().addHistory(history!);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user