From 005fcdf44fdb1f2b17def91bdc9fc375da0152c9 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Tue, 2 Jul 2024 11:14:23 -0500 Subject: [PATCH] hide down chevron contextually --- .../sub_widgets/wallet_summary_info.dart | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/lib/pages/wallet_view/sub_widgets/wallet_summary_info.dart b/lib/pages/wallet_view/sub_widgets/wallet_summary_info.dart index ca434e576..5953da356 100644 --- a/lib/pages/wallet_view/sub_widgets/wallet_summary_info.dart +++ b/lib/pages/wallet_view/sub_widgets/wallet_summary_info.dart @@ -200,17 +200,19 @@ class WalletSummaryInfo extends ConsumerWidget { .textFavoriteCard, ), ), - const SizedBox( - width: 4, - ), - SvgPicture.asset( - Assets.svg.chevronDown, - color: Theme.of(context) - .extension()! - .textFavoriteCard, - width: 8, - height: 4, - ), + if (availableBalances.length > 1) ...[ + const SizedBox( + width: 4, + ), + SvgPicture.asset( + Assets.svg.chevronDown, + color: Theme.of(context) + .extension()! + .textFavoriteCard, + width: 8, + height: 4, + ), + ], ], ), ),