Execute methods button for contract type

This commit is contained in:
Victor Baranov 2018-12-21 00:00:20 +03:00
parent 712e41585e
commit 2d361f7a59
1 changed files with 3 additions and 3 deletions

View File

@ -215,10 +215,10 @@ AccountDetailScreen.prototype.render = function () {
h('.flex-grow'),
h('button', {
!ifContractAcc(currentKeyring) ? h('button', {
onClick: () => props.dispatch(actions.buyEthView(selected)),
style: { marginRight: '10px' },
}, 'Buy'),
}, 'Buy') : null,
h('button', {
onClick: () => {
@ -228,7 +228,7 @@ AccountDetailScreen.prototype.render = function () {
return props.dispatch(actions.showSendPage())
}
},
}, 'Send'),
}, ifContractAcc(currentKeyring) ? 'Execute methods' : 'Send'),
]),
]),