mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-22 08:53:49 +01:00
fix aimode migration
This commit is contained in:
parent
f42f1df45d
commit
d5b6ce157c
@ -10,7 +10,7 @@ if (process.client) {
|
|||||||
isEnabledAiChanMode.value = ((localStorage.getItem('miHub_aichan_mode') ?? '') == 'true');
|
isEnabledAiChanMode.value = ((localStorage.getItem('miHub_aichan_mode') ?? '') == 'true');
|
||||||
|
|
||||||
// migration
|
// migration
|
||||||
if (!isEnabledAiChanMode.value) {
|
if (!localStorage.getItem('miHub_aichan_mode')) {
|
||||||
isEnabledAiChanMode.value = ((localStorage.getItem('aimode') ?? '') == 'true');
|
isEnabledAiChanMode.value = ((localStorage.getItem('aimode') ?? '') == 'true');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user