Fixed the storage of chapter read information.

This commit is contained in:
2025-02-13 10:47:54 +08:00
parent d2aca7ce44
commit 14c3e9ea43
2 changed files with 36 additions and 16 deletions

View File

@@ -237,6 +237,7 @@ class _ReaderState extends State<Reader> with _ReaderLocation, _ReaderWindow {
history!.maxPage = maxPage;
}
history!.readEpisode.add(chapter);
print(history!.readEpisode);
history!.time = DateTime.now();
HistoryManager().addHistory(history!);
}