From ba361ee1cfb01d3a3d8f0ba1f78cfa00e7f0e36f Mon Sep 17 00:00:00 2001 From: Tom Kirkpatrick Date: Wed, 19 Sep 2018 18:52:54 +0200 Subject: [PATCH] fix(wallet): hide zero channel balance If the total channel balance is zero, do not show the channel balance at the top of the network view as the zero doesn't convey any useful information and looks strange. --- app/components/Contacts/Network/Network.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/app/components/Contacts/Network/Network.js b/app/components/Contacts/Network/Network.js index 59ddae65..c1e8454b 100644 --- a/app/components/Contacts/Network/Network.js +++ b/app/components/Contacts/Network/Network.js @@ -173,12 +173,14 @@ class Network extends Component { - + {Boolean(balance.channelBalance) && ( + + )} {Boolean(fiatAmount) && ( {'≈ '}