Remove localstorage setting migration

fa054520b6a0b55f75537e74f165a0a84ce06b72

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +0 -7Ignore whitespace
public/scripts/power-user.js+0 -7
@@ -299,7 +299,6 @@ export let context_presets = [];
299299const storage_keys = {
300300 auto_connect_legacy: 'AutoConnectEnabled',
301301 auto_load_chat_legacy: 'AutoLoadChatEnabled',
302- hideChatAvatars_legacy: 'hideChatAvatarsEnabled',
303302
304303 storyStringValidationCache: 'StoryStringValidationCache',
305304};
@@ -1415,7 +1414,6 @@ async function loadPowerUserSettings(settings, data) {
14151414 // These are still local storage. Delete in 1.12.7
14161415 const autoLoadChat = localStorage.getItem(storage_keys.auto_load_chat_legacy);
14171416 const autoConnect = localStorage.getItem(storage_keys.auto_connect_legacy);
1418- const hideChatAvatars = localStorage.getItem(storage_keys.hideChatAvatars_legacy);
14191417
14201418 if (autoLoadChat) {
14211419 power_user.auto_load_chat = autoLoadChat === 'true';
@@ -1427,11 +1425,6 @@ async function loadPowerUserSettings(settings, data) {
14271425 localStorage.removeItem(storage_keys.auto_connect_legacy);
14281426 }
14291427
1430- if (hideChatAvatars) {
1431- power_user.hideChatAvatars_enabled = hideChatAvatars === 'true';
1432- localStorage.removeItem(storage_keys.hideChatAvatars_legacy);
1433- }
1434-
14351428 if (power_user.chat_display === '') {
14361429 power_user.chat_display = chat_styles.DEFAULT;
14371430 }