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

Don't call `setFileContent` 2 times
pull/4/head
yann300 5 years ago committed by GitHub
commit 8dc15ceebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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