Show 'Buy POA' instead of 'Buy ETH'

This commit is contained in:
Franco Victorio 2018-07-19 17:34:22 -03:00
parent 105385c2e8
commit 34c8e2ac7c
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ BuyButtonSubview.prototype.headerSubview = function () {
const { network } = props
const isLoading = props.isSubLoading
const isSokol = parseInt(network) === 77
const coinName = isSokol ? 'SPOA' : 'ETH'
const isPOA = parseInt(network) === 99
const coinName = isPOA ? 'POA' : isSokol ? 'SPOA' : 'ETH'
return (
h('.flex-column', {