Show last used source

This commit is contained in:
schroda
2025-05-17 23:37:00 +02:00
parent bf90d95266
commit e327849a19
10 changed files with 53 additions and 14 deletions

View File

@@ -96,6 +96,7 @@ export const APP_METADATA_KEY_TO_TYPE = {
shouldUsePureBlackMode: 'boolean',
mangaGridItemWidth: 'number',
isPinned: 'boolean',
lastUsedSourceId: 'string',
} as const satisfies Record<AppMetadataKeys, 'auto' | 'string' | 'number' | 'boolean'>;
export const VALID_APP_METADATA_KEYS = Object.keys(APP_METADATA_KEY_TO_TYPE);
@@ -147,6 +148,7 @@ export const GLOBAL_METADATA_KEYS: AppMetadataKeys[] = [
'hideLibraryEntries',
'extensionLanguages',
'showNsfw',
'lastUsedSourceId',
// history
'hideHistory',