From bfadb5769463d5eca16d9ca9f30c339f81dd46a9 Mon Sep 17 00:00:00 2001 From: kylejwatson Date: Sun, 2 Aug 2020 12:34:51 +0100 Subject: [PATCH] Reverted default delay --- src/renderer/components/ft-toast/ft-toast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/ft-toast/ft-toast.js b/src/renderer/components/ft-toast/ft-toast.js index 26262028..370325f7 100644 --- a/src/renderer/components/ft-toast/ft-toast.js +++ b/src/renderer/components/ft-toast/ft-toast.js @@ -27,7 +27,7 @@ export default Vue.extend({ }, open: function (message, action, time) { const toast = { message: message, action: action || (() => { }), isOpen: false, timeout: null } - toast.timeout = setTimeout(this.close, time || 6000, toast) + toast.timeout = setTimeout(this.close, time || 3000, toast) setImmediate(() => { toast.isOpen = true }) if (this.toasts.length > 4) { this.remove(0)