From 59f46f2b3bf048d216b65854ef6f825ea68076d0 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(-) mode change 100755 => 100644 Plugins/SaveToRedux/SaveToRedux.plugin.js diff --git a/Plugins/SaveToRedux/SaveToRedux.plugin.js b/Plugins/SaveToRedux/SaveToRedux.plugin.js old mode 100755 new mode 100644 index 0701a55..d9a4f2d --- a/Plugins/SaveToRedux/SaveToRedux.plugin.js +++ b/Plugins/SaveToRedux/SaveToRedux.plugin.js @@ -400,7 +400,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' });