Merge pull request #2867 from ethereum/yann300-patch-9

Don't call `setFileContent` 2 times
pull/5370/head
yann300 5 years ago committed by GitHub
commit 69d4373d44
  1. 1
      src/app/files/fileManager.js

@ -355,7 +355,6 @@ class FileManager extends Plugin {
if (this.currentRequest) {
const canCall = await this.askUserPermission('writeFile', '')
if (canCall) {
this._setFileInternal(path, content)
// inform the user about modification after permission is granted and even if permission was saved before
toaster(yo`
<div>

Loading…
Cancel
Save