From bc0c9168b569b1e0f255be77116d9ad707c19dcc Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 15 Jun 2023 17:47:58 -0600 Subject: [PATCH] fix: coin card chan aspect ratio --- lib/pages/wallet_view/wallet_view.dart | 1 + lib/widgets/coin_card.dart | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/pages/wallet_view/wallet_view.dart b/lib/pages/wallet_view/wallet_view.dart index df036a73b..3e7fb37fa 100644 --- a/lib/pages/wallet_view/wallet_view.dart +++ b/lib/pages/wallet_view/wallet_view.dart @@ -680,6 +680,7 @@ class _WalletViewState extends ConsumerState { padding: const EdgeInsets.symmetric(horizontal: 16), child: WalletSummary( walletId: walletId, + aspectRatio: 1.75, initialSyncStatus: ref.watch(managerProvider .select((value) => value.isRefreshing)) ? WalletSyncStatus.syncing diff --git a/lib/widgets/coin_card.dart b/lib/widgets/coin_card.dart index 3d122c42a..0bebc5fd8 100644 --- a/lib/widgets/coin_card.dart +++ b/lib/widgets/coin_card.dart @@ -47,8 +47,11 @@ class CoinCard extends ConsumerWidget { width: width, height: height, decoration: BoxDecoration( + borderRadius: BorderRadius.circular( + Constants.size.circularBorderRadius, + ), image: DecorationImage( - fit: BoxFit.fill, + fit: BoxFit.cover, image: FileImage( File( ref.watch(coinCardProvider(coin))!,