mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 13:22:58 -05:00
Update settings' version which migrating old settings
This commit is contained in:
parent
6c271fbbcb
commit
9b6d8656e8
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ export function syncUserSettings() {
|
|||
|
||||
|
||||
const synced = {...defaultSettings, ...parsedUserSettings}
|
||||
synced.version = import.meta.env.SAFETWITCH_TAG
|
||||
localStorage.setItem('settings', JSON.stringify(synced))
|
||||
console.log('Migrated!')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue