diff --git a/lib/screens/wallet_view.dart b/lib/screens/wallet_view.dart index 820811a..a873484 100644 --- a/lib/screens/wallet_view.dart +++ b/lib/screens/wallet_view.dart @@ -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( diff --git a/pubspec.yaml b/pubspec.yaml index b854153..e1d4709 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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'