fix: debug name

This commit is contained in:
poka 2022-05-21 06:52:30 +02:00
parent 3df8b44d67
commit 5472a03bf3
2 changed files with 2 additions and 5 deletions

View File

@ -30,8 +30,6 @@ class HomeScreen extends StatelessWidget {
final bool isWalletsExists = _myWalletProvider.checkIfWalletExist(); final bool isWalletsExists = _myWalletProvider.checkIfWalletExist();
isTall = false; isTall = false;
ratio = 1; ratio = 1;
if (MediaQuery.of(context).size.height >= 930) { if (MediaQuery.of(context).size.height >= 930) {
@ -71,7 +69,7 @@ class HomeScreen extends StatelessWidget {
), ),
ListTile( ListTile(
key: const Key('substrateSandbox'), key: const Key('substrateSandbox'),
title: const Text('SUBSTRATE SANDBOX'), title: const Text('Substrate debug'),
onTap: () { onTap: () {
Navigator.pop(context); Navigator.pop(context);
Navigator.push( Navigator.push(

View File

@ -38,8 +38,7 @@ class SubstrateSandBox extends StatelessWidget {
child: Text( child: Text(
'Noeud connecté ?: ${_sub.nodeConnected} (${configBox.get('endpoint')})')), 'Noeud connecté ?: ${_sub.nodeConnected} (${configBox.get('endpoint')})')),
if (_sub.nodeConnected) if (_sub.nodeConnected)
Text( Text('Noeud "$currencyName", bloc N°${_sub.blocNumber}'),
'Noeud "${_sub.sdk.api.connectedNode!.name}", bloc N°${_sub.blocNumber}'),
const SizedBox(height: 20), const SizedBox(height: 20),
Row(children: [ Row(children: [
const Text('Liste des coffres:'), const Text('Liste des coffres:'),