feat: update Z.ai app configuration with additional styling and increment store version to 97
This commit is contained in:
parent
579d7d1e5d
commit
1bb27ee3f9
@ -399,6 +399,9 @@ export const DEFAULT_MIN_APPS: MinAppType[] = [
|
||||
name: `Z.ai`,
|
||||
logo: ZaiAppLogo,
|
||||
url: `https://chat.z.ai/`,
|
||||
bodered: true
|
||||
bodered: true,
|
||||
style: {
|
||||
padding: 10
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@ -42,7 +42,7 @@ const persistedReducer = persistReducer(
|
||||
{
|
||||
key: 'cherry-studio',
|
||||
storage,
|
||||
version: 96,
|
||||
version: 97,
|
||||
blacklist: ['runtime', 'messages'],
|
||||
migrate
|
||||
},
|
||||
|
||||
@ -1232,13 +1232,7 @@ const migrateConfig = {
|
||||
'97': (state: RootState) => {
|
||||
try {
|
||||
addMiniApp(state, 'zai')
|
||||
return state
|
||||
} catch (error) {
|
||||
return state
|
||||
}
|
||||
},
|
||||
'98': (state: RootState) => {
|
||||
try {
|
||||
state.settings.webdavMaxBackups = 0
|
||||
if (state.websearch && state.websearch.providers) {
|
||||
state.websearch.providers.forEach((provider) => {
|
||||
provider.basicAuthUsername = ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user