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