Make "hideHistory" settings global

This commit is contained in:
schroda
2025-03-23 01:21:45 +01:00
parent b673047517
commit ae29904ed2

View File

@@ -78,6 +78,7 @@ const APP_METADATA_OBJECT: Record<AppMetadataKeys, undefined> = {
shouldShowTapZoneLayoutPreview: undefined,
shouldInformAboutMissingChapter: undefined,
shouldInformAboutScanlatorChange: undefined,
hideHistory: undefined,
};
export const VALID_APP_METADATA_KEYS = Object.keys(APP_METADATA_OBJECT);
@@ -128,6 +129,9 @@ export const GLOBAL_METADATA_KEYS: AppMetadataKeys[] = [
// browse
'hideLibraryEntries',
// history
'hideHistory',
// tracking
'updateProgressAfterReading',
'updateProgressManualMarkRead',