Fix waifu mode setting migration

This commit is contained in:
Cohee
2023-07-04 11:46:53 +03:00
parent dbb18ac895
commit 8ad431bea6

View File

@@ -614,6 +614,10 @@ function loadPowerUserSettings(settings, data) {
power_user.chat_display = chat_styles.DEFAULT; power_user.chat_display = chat_styles.DEFAULT;
} }
if (power_user.waifuMode === '') {
power_user.waifuMode = false;
}
$('#trim_spaces').prop("checked", power_user.trim_spaces); $('#trim_spaces').prop("checked", power_user.trim_spaces);
$('#continue_on_send').prop("checked", power_user.continue_on_send); $('#continue_on_send').prop("checked", power_user.continue_on_send);
$('#auto_swipe').prop("checked", power_user.auto_swipe); $('#auto_swipe').prop("checked", power_user.auto_swipe);