chore(version): 0.4.0

This commit is contained in:
kangfenmao 2024-07-29 17:16:37 +08:00
parent 50f08124d7
commit f080fc5048
3 changed files with 6 additions and 4 deletions

View File

@ -56,5 +56,5 @@ electronDownload:
afterSign: scripts/notarize.js
releaseInfo:
releaseNotes: |
新增翻译模块
修复一些问题
支持主题切换
修复一些问题

View File

@ -1,6 +1,6 @@
{
"name": "cherry-studio",
"version": "0.3.9",
"version": "0.4.0",
"description": "A powerful AI assistant for producer.",
"main": "./out/main/index.js",
"author": "kangfenmao@qq.com",

View File

@ -30,6 +30,8 @@ const HomePage: FC = () => {
setActiveAssistant(assistant)
}
console.debug('theme', theme)
return (
<Container>
<Navbar>
@ -48,7 +50,7 @@ const HomePage: FC = () => {
<ThemeSwitch
checkedChildren={<i className="iconfont icon-theme icon-dark1" />}
unCheckedChildren={<i className="iconfont icon-theme icon-theme-light" />}
defaultChecked={theme === 'dark'}
checked={theme === 'dark'}
onChange={toggleTheme}
/>
<NewButton onClick={toggleRightSidebar}>