From 7287133e15fab22299e07704206e85bc855d1064 Mon Sep 17 00:00:00 2001 From: Bruno Barbieri Date: Thu, 21 Mar 2019 15:43:10 -0400 Subject: Enable mobile sync (#6332) * enable mobile sync * remove mobile sync as a preference * Fix typo --- .../pages/settings/settings-tab/settings-tab.component.js | 7 +------ .../pages/settings/settings-tab/settings-tab.container.js | 2 -- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'ui/app') diff --git a/ui/app/components/pages/settings/settings-tab/settings-tab.component.js b/ui/app/components/pages/settings/settings-tab/settings-tab.component.js index abddaaee8..ba2e81754 100644 --- a/ui/app/components/pages/settings/settings-tab/settings-tab.component.js +++ b/ui/app/components/pages/settings/settings-tab/settings-tab.component.js @@ -63,7 +63,6 @@ export default class SettingsTab extends PureComponent { setUseNativeCurrencyAsPrimaryCurrencyPreference: PropTypes.func, setAdvancedInlineGasFeatureFlag: PropTypes.func, advancedInlineGas: PropTypes.bool, - mobileSync: PropTypes.bool, showFiatInTestnets: PropTypes.bool, setShowFiatConversionOnTestnetsPreference: PropTypes.func.isRequired, participateInMetaMetrics: PropTypes.bool, @@ -378,11 +377,7 @@ export default class SettingsTab extends PureComponent { renderMobileSync () { const { t } = this.context - const { history, mobileSync } = this.props - - if (!mobileSync) { - return - } + const { history } = this.props return (
diff --git a/ui/app/components/pages/settings/settings-tab/settings-tab.container.js b/ui/app/components/pages/settings/settings-tab/settings-tab.container.js index 64c256412..e266c8c9a 100644 --- a/ui/app/components/pages/settings/settings-tab/settings-tab.container.js +++ b/ui/app/components/pages/settings/settings-tab/settings-tab.container.js @@ -28,7 +28,6 @@ const mapStateToProps = state => { sendHexData, privacyMode, advancedInlineGas, - mobileSync, } = {}, provider = {}, currentLocale, @@ -48,7 +47,6 @@ const mapStateToProps = state => { privacyMode, provider, useNativeCurrencyAsPrimaryCurrency, - mobileSync, showFiatInTestnets, participateInMetaMetrics, } -- cgit