Rename library option variable names

This commit is contained in:
schroda
2024-09-16 11:35:55 +02:00
parent 83ce1caee6
commit df129f723a
5 changed files with 108 additions and 75 deletions

View File

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