mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
fix: coin card chan aspect ratio
This commit is contained in:
parent
968bf390f4
commit
bc0c9168b5
2 changed files with 5 additions and 1 deletions
|
@ -680,6 +680,7 @@ class _WalletViewState extends ConsumerState<WalletView> {
|
|||
padding: const EdgeInsets.symmetric(horizontal: 16),
|
||||
child: WalletSummary(
|
||||
walletId: walletId,
|
||||
aspectRatio: 1.75,
|
||||
initialSyncStatus: ref.watch(managerProvider
|
||||
.select((value) => value.isRefreshing))
|
||||
? WalletSyncStatus.syncing
|
||||
|
|
|
@ -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))!,
|
||||
|
|
Loading…
Reference in a new issue