Fix default values for power_user toggles

088aeaf4224cb5b95b6804098a603bbab11548b3

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

1 files changed, +4 -4Showing whitespace changes
public/scripts/power-user.js+4 -4
@@ -1559,11 +1559,11 @@ async function loadPowerUserSettings(settings, data) {
15591559 power_user.movingUI = movingUI === null ? false : movingUI == 'true';
15601560 power_user.noShadows = noShadows === null ? false : noShadows == 'true';
15611561 power_user.hotswap_enabled = hotswap === null ? true : hotswap == 'true';
15621562 power_user.timer_enabled = timer === null ? truefalse : timer == 'true';
15631563 power_user.timestamps_enabled = timestamps === null ? true : timestamps == 'true';
15641564 power_user.mesIDDisplay_enabled = mesIDDisplay === null ? truefalse : mesIDDisplay == 'true';
15651565 power_user.hideChatAvatars_enabled = hideChatAvatars === null ? truefalse : hideChatAvatars == 'true';
15661566 power_user.expand_message_actions = expandMessageActions === null ? truefalse : expandMessageActions == 'true';
15671567 power_user.enableZenSliders = enableZenSliders === null ? false : enableZenSliders == 'true';
15681568 power_user.enableLabMode = enableLabMode === null ? false : enableLabMode == 'true';
15691569 power_user.avatar_style = Number(localStorage.getItem(storage_keys.avatar_style) ?? avatar_styles.ROUND);