Save "showNsfw" setting on server

This commit is contained in:
schroda
2025-04-21 19:18:42 +02:00
parent 2022b7028e
commit 4c1a493cf5
7 changed files with 19 additions and 10 deletions

View File

@@ -86,6 +86,7 @@ const APP_METADATA_OBJECT: Record<AppMetadataKeys, undefined> = {
unread: undefined,
showChapterNumber: undefined,
extensionLanguages: undefined,
showNsfw: undefined,
};
export const VALID_APP_METADATA_KEYS = Object.keys(APP_METADATA_OBJECT);
@@ -136,6 +137,7 @@ export const GLOBAL_METADATA_KEYS: AppMetadataKeys[] = [
// browse
'hideLibraryEntries',
'extensionLanguages',
'showNsfw',
// history
'hideHistory',