mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 19:26:37 +00:00
small tweaks
This commit is contained in:
parent
21e0113439
commit
1e6b9e5830
2 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue