aboutsummaryrefslogtreecommitdiff
path: root/src/app/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/js')
-rw-r--r--src/app/js/toast.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/js/toast.js b/src/app/js/toast.js
index e0aba6b..501bf42 100644
--- a/src/app/js/toast.js
+++ b/src/app/js/toast.js
@@ -69,3 +69,7 @@ function dismissToast(id) {
}, 500)
}
}
+
+ipcRenderer.on("toast", (_, properties) => {
+ Toast(properties);
+})