mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 01:37:54 +00:00
icon size fix
This commit is contained in:
parent
fa8829072e
commit
a63e2c784e
1 changed files with 12 additions and 6 deletions
|
@ -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>()!
|
||||||
|
|
Loading…
Reference in a new issue