From eccdab0d7c3a7a04409b2e7fb711d761e3a5301e Mon Sep 17 00:00:00 2001 From: Liana Husikyan Date: Wed, 15 May 2019 12:00:05 +0200 Subject: [PATCH] Update settings-tab.js --- src/app/tabs/settings-tab.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/tabs/settings-tab.js b/src/app/tabs/settings-tab.js index 4721a9ebfc..58e62f53c8 100644 --- a/src/app/tabs/settings-tab.js +++ b/src/app/tabs/settings-tab.js @@ -70,6 +70,7 @@ module.exports = class SettingsTab extends BaseApi { this._view.optionVM = yo`` if (this.config.get('settings/always-use-vm')) this._view.optionVM.setAttribute('checked', '') this._view.personal = yo`` + if (this.config.get('settings/always-use-vm') === undefined) this.config.set('settings/always-use-vm', true) if (this.config.get('settings/personal-mode')) this._view.personal.setAttribute('checked', '') var warnText = `Transaction sent over Web3 will use the web3.personal API - be sure the endpoint is opened before enabling it. This mode allows to provide the passphrase in the Remix interface without having to unlock the account.