Update settings' version which migrating old settings
This commit is contained in:
@ -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!')
|
||||
}
|
||||
|
Reference in New Issue
Block a user