Add sort by total chapter count

This commit is contained in:
schroda
2024-09-15 22:53:35 +02:00
parent dab7d40271
commit 4e763192a8
5 changed files with 27 additions and 14 deletions

View File

@@ -21,22 +21,26 @@ export enum GridLayout {
}
export const DefaultLibraryOptions: LibraryOptions = {
// display options
showContinueReadingButton: false,
showDownloadBadge: false,
showUnreadBadge: false,
gridLayout: GridLayout.Compact,
SourcegridLayout: GridLayout.Compact,
downloaded: undefined,
bookmarked: undefined,
showTabSize: false,
// sort options
sortDesc: undefined,
sorts: undefined,
// filter options
downloaded: undefined,
bookmarked: undefined,
unread: undefined,
hasDuplicateChapters: undefined,
tracker: {},
status: {} as LibraryOptions['status'],
showTabSize: false,
};
export const LibraryOptionsContext = React.createContext<ContextType>({