Add new library sort options (#547)

- latest fetched chapter
- latest uploaded chapter
This commit is contained in:
schroda
2024-01-11 03:56:04 +01:00
committed by GitHub
parent 3973eda089
commit be5497af94
4 changed files with 23 additions and 1 deletions

View File

@@ -338,7 +338,13 @@ export type ChapterOptionsReducerAction =
| { type: 'sortReverse' }
| { type: 'showChapterNumber' };
export type LibrarySortMode = 'sortToRead' | 'sortAlph' | 'sortDateAdded' | 'sortLastRead';
export type LibrarySortMode =
| 'sortToRead'
| 'sortAlph'
| 'sortDateAdded'
| 'sortLastRead'
| 'sortLatestFetchedChapter'
| 'sortLatestUploadedChapter';
enum GridLayout {
Compact = 0,