mirror of https://github.com/tooot-app/app
14 lines
241 B
TypeScript
14 lines
241 B
TypeScript
|
import { SettingsV0 } from './v0'
|
||
|
import { SettingsV1 } from './v1'
|
||
|
|
||
|
const settingsMigration = {
|
||
|
1: (state: SettingsV0): SettingsV1 => {
|
||
|
return {
|
||
|
...state,
|
||
|
darkTheme: 'lighter'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default settingsMigration
|