Skip to content

Commit

Permalink
chore(version): 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kangfenmao committed Jul 29, 2024
1 parent 50f0812 commit f080fc5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ electronDownload:
afterSign: scripts/notarize.js
releaseInfo:
releaseNotes: |
新增翻译模块
修复了一些问题
支持主题切换
修复一些问题
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 3 additions & 1 deletion src/renderer/src/pages/home/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ const HomePage: FC = () => {
setActiveAssistant(assistant)
}

console.debug('theme', theme)

return (
<Container>
<Navbar>
Expand All @@ -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}>
Expand Down

0 comments on commit f080fc5

Please sign in to comment.