Added sort by last read (#254)

This commit is contained in:
akabhirav
2023-03-05 12:26:50 +05:30
committed by GitHub
parent e32078917d
commit 91e7bd2b27
5 changed files with 10 additions and 1 deletions

View File

@@ -99,6 +99,7 @@ export interface IMangaCard {
inLibrary?: boolean;
meta?: IMetadata;
inLibraryAt: number;
lastReadAt: number;
}
export interface IManga {
@@ -331,7 +332,7 @@ export type ChapterOptionsReducerAction =
| { type: 'sortReverse' }
| { type: 'showChapterNumber' };
export type LibrarySortMode = 'sortToRead' | 'sortAlph' | 'sortDateAdded';
export type LibrarySortMode = 'sortToRead' | 'sortAlph' | 'sortDateAdded' | 'sortLastRead';
enum GridLayout {
Compact = 0,