fix: bad wallet view info

This commit is contained in:
poka 2022-12-05 04:34:01 +01:00
parent 24aee6a53c
commit 5feb3b6b22
1 changed files with 8 additions and 8 deletions

View File

@ -105,14 +105,14 @@ class WalletViewScreen extends StatelessWidget {
], ],
title: SizedBox( title: SizedBox(
height: 22, height: 22,
child: Text( child: Text(duniterIndexer
duniterIndexer.walletNameIndexer[walletProfile.address] == '' .walletNameIndexer[walletProfile.address] ==
? 'seeAWallet'.tr() null
: 'memberAccountOf'.tr(args: [ ? 'seeAWallet'.tr()
duniterIndexer : 'memberAccountOf'.tr(args: [
.walletNameIndexer[walletProfile.address] ?? duniterIndexer.walletNameIndexer[walletProfile.address] ??
'?' '?'
]))), ]))),
), ),
bottomNavigationBar: homeProvider.bottomAppBar(context), bottomNavigationBar: homeProvider.bottomAppBar(context),
body: SafeArea( body: SafeArea(