mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-23 01:13:49 +01:00
fix(AiMode): 旧Hub時の設定が残っている場合に設定変更が反映できないのを修正
This commit is contained in:
parent
e2949ccc79
commit
9590c508e0
@ -11,7 +11,7 @@ if (import.meta.client) {
|
||||
isEnabledAiChanMode.value = ((localStorage.getItem('miHub_aichan_mode') ?? '') == 'true');
|
||||
|
||||
// migration
|
||||
if (!isEnabledAiChanMode.value) {
|
||||
if (!localStorage.getItem('miHub_aichan_mode')) {
|
||||
isEnabledAiChanMode.value = ((localStorage.getItem('aimode') ?? '') == 'true');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user