Use saved settings instead of local storage

noShadows, fast_ui_mode, avatar_style and hotswap_enabled are now using settings json instead of local storage.
This commit is contained in:
d-ber
2024-08-23 18:49:00 +02:00
parent 3b46b5a46d
commit d153991a11
2 changed files with 29 additions and 50 deletions

View File

@ -84,6 +84,7 @@ import {
context_presets,
resetMovableStyles,
forceCharacterEditorTokenize,
applyPowerUserSettings,
} from './scripts/power-user.js';
import {
@ -6450,6 +6451,8 @@ export async function getSettings() {
// Load power user settings
await loadPowerUserSettings(settings, data);
applyPowerUserSettings();
// Load character tags
loadTagsSettings(settings);