feat: set topic position to left

This commit is contained in:
kangfenmao 2024-11-01 12:28:13 +08:00
parent 1785e7df0a
commit e0dab5cf5b
2 changed files with 5 additions and 1 deletions

View File

@ -24,7 +24,7 @@ const persistedReducer = persistReducer(
{ {
key: 'cherry-studio', key: 'cherry-studio',
storage, storage,
version: 35, version: 36,
blacklist: ['runtime'], blacklist: ['runtime'],
migrate migrate
}, },

View File

@ -614,6 +614,10 @@ const migrateConfig = {
'35': (state: RootState) => { '35': (state: RootState) => {
state.settings.mathEngine = 'KaTeX' state.settings.mathEngine = 'KaTeX'
return state return state
},
'36': (state: RootState) => {
state.settings.topicPosition = 'left'
return state
} }
} }