添加主题字体颜色设置

This commit is contained in:
lyswhut
2022-12-30 12:12:09 +08:00
parent a7c2857808
commit 6ff1d683a5
33 changed files with 628 additions and 189 deletions
+10 -10
View File
@@ -1,5 +1,5 @@
import { markRaw, onBeforeUnmount } from '@common/utils/vueTools'
import { onSyncAction } from '@renderer/utils/ipc'
import { onSyncAction, sendSyncAction } from '@renderer/utils/ipc'
import { sync } from '@renderer/store'
import { appSetting } from '@renderer/store/setting'
@@ -34,14 +34,14 @@ export default () => {
return async() => {
sync.enable = appSetting['sync.enable']
sync.port = appSetting['sync.port']
// if (appSetting['sync.enable'] && appSetting['sync.port']) {
// void sendSyncAction({
// action: 'enable',
// data: {
// enable: appSetting['sync.enable'],
// port: appSetting['sync.port'],
// },
// })
// }
if (appSetting['sync.enable'] && appSetting['sync.port']) {
void sendSyncAction({
action: 'enable',
data: {
enable: appSetting['sync.enable'],
port: appSetting['sync.port'],
},
})
}
}
}