Skip to content

Commit

Permalink
Merge pull request #31
Browse files Browse the repository at this point in the history
fix lastread
  • Loading branch information
juuz0 authored Feb 9, 2022
2 parents 344a81b + 4c6a719 commit b28e91c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/view_book.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ class _ViewBookState extends State<ViewBook> {
void givePageNumberF(pageno, Book b) async {
setState(() {
_actualPageNumber++;
resetInitPage(widget.book);
});
}

void givePageNumberB(pageno, Book b) async {
setState(() {
_actualPageNumber--;
resetInitPage(widget.book);
});
}

Expand Down Expand Up @@ -249,6 +251,7 @@ class _ViewBookState extends State<ViewBook> {
},
onPageChanged: (page) {
setState(() {
resetInitPage(widget.book);
_actualPageNumber = page;
});
},
Expand Down

0 comments on commit b28e91c

Please sign in to comment.