diff options
Diffstat (limited to 'src/app/js/toasts.js')
-rw-r--r-- | src/app/js/toasts.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/app/js/toasts.js b/src/app/js/toasts.js index 83ddf6a..c5cdd40 100644 --- a/src/app/js/toasts.js +++ b/src/app/js/toasts.js @@ -24,6 +24,10 @@ toasts.show = (properties) => { toast.fg = "#FFFFFF"; toast.bg = "#FF9B85"; break + case "info": + toast.fg = "#FFFFFF"; + toast.bg = "rgb(var(--blue))"; + break } @@ -75,7 +79,7 @@ toasts.dismiss = (id) => { } ipcRenderer.on("toast", (_, properties) => { - Toast(properties); + toasts.show(properties); }) module.exports = toasts; |