diff --git a/src/app/execution/txRunner.js b/src/app/execution/txRunner.js index a86f3df08f..99d1d3a289 100644 --- a/src/app/execution/txRunner.js +++ b/src/app/execution/txRunner.js @@ -253,6 +253,7 @@ function remixdDialog (tx, self) { function updateConfig (self) { self.config.set('doNotShowAgain', !self.config.get('doNotShowAgain')) + document.querySelector("#mainNetCheckbox").setAttribute('checked', true) } module.exports = TxRunner diff --git a/src/app/tabs/settings-tab.js b/src/app/tabs/settings-tab.js index a81e71105f..d1820c1ae1 100644 --- a/src/app/tabs/settings-tab.js +++ b/src/app/tabs/settings-tab.js @@ -31,7 +31,7 @@ var css = csjs` display: flex; overflow: auto; clear: both; - padding: .5em; + padding: .2em; } .checkboxText { font-weight: normal; @@ -42,6 +42,9 @@ var css = csjs` .crowNoFlex { overflow: auto; clear: both; + } + .attention { + margin-bottom: 1em; padding: .5em; font-weight: bold; } @@ -74,6 +77,9 @@ var css = csjs` i.warnIt { color: ${styles.appProperties.warningText_Color}; } + .icon { + margin-right: .5em; + } } ` module.exports = SettingsTab @@ -97,23 +103,42 @@ function SettingsTab (container, appAPI, appEvents, opts) {
General settings
-
- Text Wrap +
${optionVM}
+ Always use Ethereum VM at Load
-
${optionVM}
- Always use VM at Load +
+ Don't show confirmation popup when MainNet is selected +
+
+
+ Text Wrap
Enable Optimization
+
+
Themes
+
+ + Selecting a theme will trigger a page reload +
+
+ + +
+
+ + +
+
Plugin
-
- +
+ Do not use this alpha feature if you are not sure what you are doing!
@@ -122,29 +147,12 @@ function SettingsTab (container, appAPI, appEvents, opts) {
-
-

Themes ( Selecting a theme will trigger a page reload )

-
- - -
-
- - -
-
-
-
Plugin ( Do not use this alpha feature if you are not sure what you are doing! ) -
-
- -
- -
-
` + function popupWhenMainNetSelected () { + appAPI.config.set('doNotShowAgain', !appAPI.config.get('doNotShowAgain')) + } function loadPlugin () { var json = el.querySelector('#plugininput').value