Display balance only if pubkey is not empty

This commit is contained in:
poka 2021-01-08 02:19:19 +01:00
parent ceed77713d
commit 707613115c
1 changed files with 4 additions and 3 deletions

View File

@ -190,9 +190,10 @@ class HistoryScreenState extends State<HistoryScreen> {
child: ListView(
controller: _scrollController,
children: <Widget>[
Text(balance.toString() + ' Ğ1',
textAlign: TextAlign.center,
style: TextStyle(fontSize: 30.0, color: Colors.black)),
if (this.pubkey != '')
Text(balance.toString() + ' Ğ1',
textAlign: TextAlign.center,
style: TextStyle(fontSize: 30.0, color: Colors.black)),
for (var repository in _transBC)
ListTile(
contentPadding: const EdgeInsets.all(5.0),