Remove redundant code for saveSettings ipc call (#601)

This commit is contained in:
Ritiek Malhotra 2024-06-04 00:07:40 +05:30 committed by GitHub
parent 36e5f95705
commit 4559a39b0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,9 +92,6 @@ export function registerIpc(): void {
app.relaunch(); app.relaunch();
app.exit(); app.exit();
}); });
ipcMain.on("saveSettings", (_event, args) => {
setConfigBulk(args);
});
ipcMain.on("minimizeToTray", async (event) => { ipcMain.on("minimizeToTray", async (event) => {
event.returnValue = await getConfig("minimizeToTray"); event.returnValue = await getConfig("minimizeToTray");
}); });