remove asktoconfirm from settings

pull/3094/head
yann300 7 years ago
parent 452a928c2b
commit 589e4a783c
  1. 7
      src/app/tabs/settings-tab.js

@ -106,10 +106,6 @@ function SettingsTab (container, appAPI, appEvents, opts) {
<div>${optionVM}</div>
<span class="${css.checkboxText}">Always use Ethereum VM at Load</span>
</div>
<div class="${css.crow}">
<div><input id="askToConfirm" onchange=${askToConfirmTx} type="checkbox"></div>
<span class="${css.checkboxText}">Don't show confirmation popup when MainNet is selected</span>
</div>
<div class="${css.crow}">
<div><input id="editorWrap" type="checkbox"></div>
<span class="${css.checkboxText}">Text Wrap</span>
@ -150,9 +146,6 @@ function SettingsTab (container, appAPI, appEvents, opts) {
</div>
`
function askToConfirmTx () {
appAPI.config.set('doNotShowAgain', !appAPI.config.get('doNotShowAgain'))
}
function loadPlugin () {
var json = el.querySelector('#plugininput').value

Loading…
Cancel
Save