mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 10:34:32 +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),
|
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
|
||||||
|
|
|
@ -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))!,
|
||||||
|
|
Loading…
Reference in a new issue