Temporarily Disabling Mobile Sync (#11931)

feature/default_network_editable
ryanml 3 years ago
parent 9d6fee3c07
commit d1d6eac49c
  1. 2
      app/_locales/en/messages.json
  2. 7
      ui/pages/mobile-sync/mobile-sync.component.js

@ -1299,7 +1299,7 @@
"description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key."
},
"mobileSyncWarning": {
"message": " Proceeding will display a secret QR code that allows access to your accounts. Do not share it with anyone. Support staff will never ask your for it."
"message": "This feature has been temporarily disabled, if you are trying to sync with MetaMask mobile, please use your Secret Recovery Phrase instead for now. As usual, never share it with anyone."
},
"mustSelectOne": {
"message": "Must select at least 1 token."

@ -316,12 +316,7 @@ export default class MobileSyncPage extends Component {
}
return screen === PASSWORD_PROMPT_SCREEN ? (
<div>
{this.renderWarning(this.context.t('mobileSyncWarning'))}
<div className="reveal-seed__content">
{this.renderPasswordPromptContent()}
</div>
</div>
<div>{this.renderWarning(this.context.t('mobileSyncWarning'))}</div>
) : (
<div>
{this.renderWarning(this.context.t('syncWithMobileBeCareful'))}

Loading…
Cancel
Save