mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Enable mobile sync (#6332)
* enable mobile sync * remove mobile sync as a preference * Fix typo
This commit is contained in:
parent
2aaec1d9fb
commit
7287133e15
@ -6,5 +6,5 @@ One example is our "sync with mobile" feature, which didn't make sense to roll o
|
||||
|
||||
To enable features like this, first open the background console, and then you can use the global method `global.setPreference(key, value)`.
|
||||
|
||||
For example, if the feature flag was a booelan was called `mobileSync`, you might type `setPreference('mobileSync', true)`.
|
||||
For example, if the feature flag was a boolean was called `useNativeCurrencyAsPrimaryCurrency`, you might type `setPreference('useNativeCurrencyAsPrimaryCurrency', true)`.
|
||||
|
||||
|
@ -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 (
|
||||
<div className="settings-page__content-row">
|
||||
|
@ -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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user