aboutsummaryrefslogtreecommitdiff
path: root/src/app/js/toasts.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/js/toasts.js')
-rw-r--r--src/app/js/toasts.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/js/toasts.js b/src/app/js/toasts.js
index c3bba99..83ddf6a 100644
--- a/src/app/js/toasts.js
+++ b/src/app/js/toasts.js
@@ -74,4 +74,8 @@ toasts.dismiss = (id) => {
}
}
+ipcRenderer.on("toast", (_, properties) => {
+ Toast(properties);
+})
+
module.exports = toasts;