icon size fix

This commit is contained in:
julian 2024-05-07 11:49:49 -06:00
parent fa8829072e
commit a63e2c784e

View file

@ -29,6 +29,7 @@ import 'package:stackwallet/utilities/assets.dart';
import 'package:stackwallet/utilities/clipboard_interface.dart'; import 'package:stackwallet/utilities/clipboard_interface.dart';
import 'package:stackwallet/utilities/enums/coin_enum.dart'; import 'package:stackwallet/utilities/enums/coin_enum.dart';
import 'package:stackwallet/utilities/text_styles.dart'; import 'package:stackwallet/utilities/text_styles.dart';
import 'package:stackwallet/utilities/util.dart';
import 'package:stackwallet/wallets/isar/providers/wallet_info_provider.dart'; import 'package:stackwallet/wallets/isar/providers/wallet_info_provider.dart';
import 'package:stackwallet/widgets/rounded_container.dart'; import 'package:stackwallet/widgets/rounded_container.dart';
import 'package:stackwallet/widgets/rounded_white_container.dart'; import 'package:stackwallet/widgets/rounded_white_container.dart';
@ -39,10 +40,10 @@ final exchangeFromAddressBookAddressStateProvider =
class ContactPopUp extends ConsumerWidget { class ContactPopUp extends ConsumerWidget {
const ContactPopUp({ const ContactPopUp({
Key? key, super.key,
required this.contactId, required this.contactId,
this.clipboard = const ClipboardWrapper(), this.clipboard = const ClipboardWrapper(),
}) : super(key: key); });
final String contactId; final String contactId;
final ClipboardInterface clipboard; final ClipboardInterface clipboard;
@ -384,13 +385,18 @@ class ContactPopUp extends ConsumerWidget {
color: Theme.of(context) color: Theme.of(context)
.extension<StackColors>()! .extension<StackColors>()!
.textFieldDefaultBG, .textFieldDefaultBG,
padding: padding: EdgeInsets.all(
const EdgeInsets.all(4), Util.isDesktop ? 4 : 6,
),
child: SvgPicture.asset( child: SvgPicture.asset(
Assets Assets
.svg.circleArrowUpRight, .svg.circleArrowUpRight,
width: 12, width: Util.isDesktop
height: 12, ? 12
: 16,
height: Util.isDesktop
? 12
: 16,
color: Theme.of(context) color: Theme.of(context)
.extension< .extension<
StackColors>()! StackColors>()!