avoid unnecessary config writes

This commit is contained in:
Eugene Pankov
2022-07-30 00:03:56 +02:00
parent 5bbb5e9210
commit 5d383eea04
5 changed files with 16 additions and 23 deletions

View File

@@ -58,13 +58,6 @@ export class ElectronHostAppService extends HostAppService {
this.electron.ipcRenderer.send('app:new-window')
}
/**
* Notifies other windows of config file changes
*/
broadcastConfigChange (configStore: Record<string, any>): void {
this.electron.ipcRenderer.send('app:config-change', configStore)
}
saveConfig (data: string): void {
this.electron.ipcRenderer.send('app:save-config', data)
}