From 9f87ff57aa1cbfd01d40be8008cde48de5b4ca17 Mon Sep 17 00:00:00 2001 From: YULIUS KURNIAWAN KRISTIANTO Date: Wed, 11 Apr 2018 05:05:30 +0700 Subject: [PATCH] Hide Price Form Field --- src/renderer/page/settings/view.jsx | 46 +++++++++++++---------------- 1 file changed, 21 insertions(+), 25 deletions(-) diff --git a/src/renderer/page/settings/view.jsx b/src/renderer/page/settings/view.jsx index bde2f935e..79b6b6ad7 100644 --- a/src/renderer/page/settings/view.jsx +++ b/src/renderer/page/settings/view.jsx @@ -185,21 +185,21 @@ class SettingsPage extends React.PureComponent { checked={!daemonSettings.disable_max_key_fee} postfix={__('Choose limit')} /> - + {!daemonSettings.disable_max_key_fee && ( + + )} -
{__('Purchase Confirmations')}
@@ -217,7 +217,6 @@ class SettingsPage extends React.PureComponent { this.onInstantPurchaseEnabledChange(false); }} /> - { this.onInstantPurchaseEnabledChange(true); }} /> - + {instantPurchaseEnabled && ( + + )}
-
{__('Content Settings')}
{ )} />
-
{__('Share Diagnostic Data')}
@@ -275,7 +273,6 @@ class SettingsPage extends React.PureComponent { />
- { // Hiding this for now until we update the dark mode styles //
@@ -303,7 +300,6 @@ class SettingsPage extends React.PureComponent { // /> //
} -
{__('Application Cache')}
-- 2.45.2