aboutsummaryrefslogtreecommitdiff
path: root/src/app/settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/settings.js')
-rw-r--r--src/app/settings.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/app/settings.js b/src/app/settings.js
index e558d61..4921e07 100644
--- a/src/app/settings.js
+++ b/src/app/settings.js
@@ -20,7 +20,10 @@ var Settings = {
overlay.classList.toggle("shown")
options.classList.toggle("shown")
},
- apply: () => {},
+ apply: () => {
+ settings = {...settings, ...Settings.get()};
+ ipcRenderer.send("savesettings", Settings.get());
+ },
reloadSwitches: () => {
let switches = document.querySelectorAll(".switch");