From 84bd15d2432d4b1c0b70e18c99603afe17895c27 Mon Sep 17 00:00:00 2001 From: Gio Date: Fri, 3 Jan 2020 13:57:24 -0600 Subject: [PATCH] Show save path in successful toast notification --- Plugins/SaveToRedux/SaveToRedux.plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/SaveToRedux/SaveToRedux.plugin.js b/Plugins/SaveToRedux/SaveToRedux.plugin.js index a622241..fb06f76 100644 --- a/Plugins/SaveToRedux/SaveToRedux.plugin.js +++ b/Plugins/SaveToRedux/SaveToRedux.plugin.js @@ -416,7 +416,7 @@ var SaveToRedux = (() => { .pipe(FsModule.createWriteStream(path)) .on('finish', () => { if (openOnSave) openItem(path); - BdApi.showToast('Saved!', { type: 'success' }); + BdApi.showToast(`Saved to '${path}'`, { type: 'success' }); }) .on('error', e => BdApi.showToast(`Failed to save! ${e}`, { type: 'error', timeout: 10000 })); } else if (res.statusCode == 404) BdApi.showToast('Image does not exist!', { type: 'error' });