Display balance only if pubkey is not empty
This commit is contained in:
parent
ceed77713d
commit
707613115c
|
@ -190,9 +190,10 @@ class HistoryScreenState extends State<HistoryScreen> {
|
||||||
child: ListView(
|
child: ListView(
|
||||||
controller: _scrollController,
|
controller: _scrollController,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Text(balance.toString() + ' Ğ1',
|
if (this.pubkey != '')
|
||||||
textAlign: TextAlign.center,
|
Text(balance.toString() + ' Ğ1',
|
||||||
style: TextStyle(fontSize: 30.0, color: Colors.black)),
|
textAlign: TextAlign.center,
|
||||||
|
style: TextStyle(fontSize: 30.0, color: Colors.black)),
|
||||||
for (var repository in _transBC)
|
for (var repository in _transBC)
|
||||||
ListTile(
|
ListTile(
|
||||||
contentPadding: const EdgeInsets.all(5.0),
|
contentPadding: const EdgeInsets.all(5.0),
|
||||||
|
|
Loading…
Reference in New Issue