aboutsummaryrefslogtreecommitdiff
path: root/src/app/settings.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-05-30 22:48:39 +0200
committer0neGal <mail@0negal.com>2022-05-30 23:02:50 +0200
commit1c06ab53f1cf2228e1034a66538f3a31a14e3743 (patch)
treee90234803990e3562d6e3c522fed721a25e7baef /src/app/settings.js
parent451f1709cbdf0caa20c01ec533b96832ba9aa822 (diff)
downloadViper-1c06ab53f1cf2228e1034a66538f3a31a14e3743.tar.gz
Viper-1c06ab53f1cf2228e1034a66538f3a31a14e3743.zip
refactored event names
Quite a lot of them aren't in the same syntax/style, and it's quite bad to look at, this should fix them all without causing issues.
Diffstat (limited to 'src/app/settings.js')
-rw-r--r--src/app/settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/settings.js b/src/app/settings.js
index 051d6a1..63b4b99 100644
--- a/src/app/settings.js
+++ b/src/app/settings.js
@@ -22,7 +22,7 @@ var Settings = {
},
apply: () => {
settings = {...settings, ...Settings.get()};
- ipcRenderer.send("savesettings", Settings.get());
+ ipcRenderer.send("save-settings", Settings.get());
},
reloadSwitches: () => {
let switches = document.querySelectorAll(".switch");