diff --git a/lib/ui/historyScreen.dart b/lib/ui/historyScreen.dart index 0ef4198..3f305d3 100644 --- a/lib/ui/historyScreen.dart +++ b/lib/ui/historyScreen.dart @@ -190,9 +190,10 @@ class HistoryScreenState extends State { child: ListView( controller: _scrollController, children: [ - 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),