small tweaks

This commit is contained in:
julian 2023-03-27 14:29:30 -06:00
parent 21e0113439
commit 1e6b9e5830
2 changed files with 5 additions and 5 deletions

View file

@ -17,13 +17,13 @@ class WalletInfoCoinIcon extends StatelessWidget {
color: Theme.of(context)
.extension<StackColors>()!
.colorForCoin(coin)
.withOpacity(0.5),
.withOpacity(0.4),
borderRadius: BorderRadius.circular(
Constants.size.circularBorderRadius,
),
),
child: Padding(
padding: const EdgeInsets.all(4),
padding: const EdgeInsets.all(6),
child: SvgPicture.asset(
Assets.svg.iconFor(coin: coin),
width: 20,

View file

@ -13,12 +13,12 @@ class WalletInfoRow extends ConsumerWidget {
const WalletInfoRow({
Key? key,
required this.walletId,
this.onPressed,
this.onPressedDesktop,
this.padding = const EdgeInsets.all(0),
}) : super(key: key);
final String walletId;
final VoidCallback? onPressed;
final VoidCallback? onPressedDesktop;
final EdgeInsets padding;
@override
@ -31,7 +31,7 @@ class WalletInfoRow extends ConsumerWidget {
return MouseRegion(
cursor: SystemMouseCursors.click,
child: GestureDetector(
onTap: onPressed,
onTap: onPressedDesktop,
child: Padding(
padding: padding,
child: Container(