From 34c8e2ac7cbed6d60901c83b4bfddeb208299642 Mon Sep 17 00:00:00 2001 From: Franco Victorio Date: Thu, 19 Jul 2018 17:34:22 -0300 Subject: [PATCH] Show 'Buy POA' instead of 'Buy ETH' --- old-ui/app/components/buy-button-subview.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/old-ui/app/components/buy-button-subview.js b/old-ui/app/components/buy-button-subview.js index 0ac1c74b2..fcf5a097e 100644 --- a/old-ui/app/components/buy-button-subview.js +++ b/old-ui/app/components/buy-button-subview.js @@ -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', {