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();
isTall = false;
ratio = 1;
if (MediaQuery.of(context).size.height >= 930) {
@ -71,7 +69,7 @@ class HomeScreen extends StatelessWidget {
),
ListTile(
key: const Key('substrateSandbox'),
title: const Text('SUBSTRATE SANDBOX'),
title: const Text('Substrate debug'),
onTap: () {
Navigator.pop(context);
Navigator.push(

View File

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