feat: add card info display setting with options for always visible or reveal on hover

This commit is contained in:
Will Miao
2025-06-24 17:41:52 +08:00
parent ceee482ecc
commit 888896c0c0
5 changed files with 56 additions and 1 deletions

View File

@@ -4,7 +4,8 @@ import { getStorageItem, getMapFromStorage } from '../utils/storageHelpers.js';
// Load settings from localStorage or use defaults
const savedSettings = getStorageItem('settings', {
blurMatureContent: true,
show_only_sfw: false
show_only_sfw: false,
cardInfoDisplay: 'always' // Add default value for card info display
});
// Load preview versions from localStorage