Added sorting options

This commit is contained in:
Juan Gilsanz Polo
2024-03-03 17:27:16 +01:00
parent e87d2f58cf
commit 3f02dfc950
13 changed files with 155 additions and 13 deletions

View File

@@ -14,6 +14,8 @@ class BookmarksModel {
ReadStatus readStatus;
Bookmark? selectedBookmark;
final GoRouter webViewRouter;
SortingType sortingType;
SortingWay sortingWay;
BookmarksModel({
this.currentPage = 0,
@@ -25,5 +27,7 @@ class BookmarksModel {
this.readStatus = ReadStatus.all,
this.selectedBookmark,
required this.webViewRouter,
this.sortingType = SortingType.date,
this.sortingWay = SortingWay.descendant,
});
}