From 20ae79fe03ccbe07f5abc7beb8f009f5c7152c1d Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 20 May 2019 17:25:26 +0200 Subject: [PATCH 1/2] bump remix-tab version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f1f8565cf2..48c69601b3 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "remix-debug": "0.3.7", "remix-lib": "0.4.6", "remix-solidity": "0.3.6", - "remix-tabs": "^1.0.0", + "remix-tabs": "1.0.46", "remix-tests": "0.1.8", "remixd": "0.1.8-alpha.6", "request": "^2.83.0", From 147ece178df76c79d051c1c7fecf93d9496ec14c Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 20 May 2019 17:40:39 +0200 Subject: [PATCH 2/2] fix set file toaster --- src/app/files/fileManager.js | 2 +- src/app/ui/tooltip.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/files/fileManager.js b/src/app/files/fileManager.js index 7bc800515a..9031a418d9 100644 --- a/src/app/files/fileManager.js +++ b/src/app/files/fileManager.js @@ -148,7 +148,7 @@ class FileManager extends FileSystemApi { warnToaster.hide() }}>Save As Copy ` - warnToaster = await toaster(yo`
${this.currentRequest.from} is modyfing ${path}
`, actions, { time: 6000 }) + warnToaster = await toaster(yo`
${this.currentRequest.from} is modyfing ${path}
`, actions, { time: 4000 }) if (reject) throw new Error(`set file operation on ${path} aborted by user.`) if (savedAsAnotherFile) return } diff --git a/src/app/ui/tooltip.js b/src/app/ui/tooltip.js index f43837ffdb..4632193c8f 100644 --- a/src/app/ui/tooltip.js +++ b/src/app/ui/tooltip.js @@ -9,8 +9,7 @@ var modal = require('./modal-dialog-custom') */ module.exports = function addTooltip (tooltipText, action, opts) { let t = new Toaster() - t.render(tooltipText, action, opts) - return t + return t.render(tooltipText, action, opts) } class Toaster {