Turn off feature toggle.

feature/default_network_editable
Dan 7 years ago committed by Chi Kei Chan
parent 60eda592b5
commit 6e73eacd5f
  1. 18
      ui/app/app.js

@ -351,20 +351,22 @@ App.prototype.renderPrimary = function () {
case 'sendTransaction': case 'sendTransaction':
log.debug('rendering send tx screen') log.debug('rendering send tx screen')
const SendComponentToRender = checkFeatureToggle('send-v2') // Going to leave this here until we are ready to delete SendTransactionScreen v1
? SendTransactionScreen2 // const SendComponentToRender = checkFeatureToggle('send-v2')
: SendTransactionScreen // ? SendTransactionScreen2
// : SendTransactionScreen
return h(SendComponentToRender, {key: 'send-transaction'}) return h(SendTransactionScreen2, {key: 'send-transaction'})
case 'sendToken': case 'sendToken':
log.debug('rendering send token screen') log.debug('rendering send token screen')
const SendTokenComponentToRender = checkFeatureToggle('send-v2') // Going to leave this here until we are ready to delete SendTransactionScreen v1
? SendTransactionScreen2 // const SendTokenComponentToRender = checkFeatureToggle('send-v2')
: SendTokenScreen // ? SendTransactionScreen2
// : SendTokenScreen
return h(SendTokenComponentToRender, {key: 'sendToken'}) return h(SendTransactionScreen2, {key: 'sendToken'})
case 'newKeychain': case 'newKeychain':
log.debug('rendering new keychain screen') log.debug('rendering new keychain screen')

Loading…
Cancel
Save