mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 10:19:07 +01:00
fix aimode migration
This commit is contained in:
parent
f42f1df45d
commit
d5b6ce157c
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ if (process.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 a new issue