fix: coin card chan aspect ratio

This commit is contained in:
julian 2023-06-15 17:47:58 -06:00
parent 968bf390f4
commit bc0c9168b5
2 changed files with 5 additions and 1 deletions

View file

@ -680,6 +680,7 @@ class _WalletViewState extends ConsumerState<WalletView> {
padding: const EdgeInsets.symmetric(horizontal: 16), padding: const EdgeInsets.symmetric(horizontal: 16),
child: WalletSummary( child: WalletSummary(
walletId: walletId, walletId: walletId,
aspectRatio: 1.75,
initialSyncStatus: ref.watch(managerProvider initialSyncStatus: ref.watch(managerProvider
.select((value) => value.isRefreshing)) .select((value) => value.isRefreshing))
? WalletSyncStatus.syncing ? WalletSyncStatus.syncing

View file

@ -47,8 +47,11 @@ class CoinCard extends ConsumerWidget {
width: width, width: width,
height: height, height: height,
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.circular(
Constants.size.circularBorderRadius,
),
image: DecorationImage( image: DecorationImage(
fit: BoxFit.fill, fit: BoxFit.cover,
image: FileImage( image: FileImage(
File( File(
ref.watch(coinCardProvider(coin))!, ref.watch(coinCardProvider(coin))!,