mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Add static emoji option
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { SettingsV0 } from './v0'
|
||||
import { SettingsV1 } from './v1'
|
||||
import { SettingsV2 } from './v2'
|
||||
|
||||
const settingsMigration = {
|
||||
1: (state: SettingsV0): SettingsV1 => {
|
||||
@ -7,6 +8,13 @@ const settingsMigration = {
|
||||
...state,
|
||||
darkTheme: 'lighter'
|
||||
}
|
||||
},
|
||||
2: (state: SettingsV1): SettingsV2 => {
|
||||
return {
|
||||
...state,
|
||||
darkTheme: 'lighter',
|
||||
staticEmoji: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user