fix: bad wallet view info

This commit is contained in:
poka 2022-12-05 04:34:01 +01:00
parent 24aee6a53c
commit ef7f6eff1b
2 changed files with 9 additions and 9 deletions

View File

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

View File

@ -5,7 +5,7 @@ description: Pay with G1.
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 0.0.14+44
version: 0.0.14+45
environment:
sdk: '>=2.12.0 <3.0.0'