mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
fix send external qr size (#3299)
This commit is contained in:
@@ -123,18 +123,27 @@ class _SwapSendExternalModalState extends State<SwapSendExternalModal> {
|
||||
largeQrMode = !largeQrMode;
|
||||
});
|
||||
},
|
||||
child: AnimatedContainer(
|
||||
child: TweenAnimationBuilder<double>(
|
||||
duration: const Duration(milliseconds: 400),
|
||||
curve: Curves.easeOutCubic,
|
||||
width: resolvedSize,
|
||||
height: resolvedSize,
|
||||
child: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
child: QrImage(
|
||||
embeddedImagePath: widget.from.iconPath,
|
||||
data: uri.toString(),
|
||||
),
|
||||
tween: Tween<double>(
|
||||
begin: resolvedSize,
|
||||
end: resolvedSize,
|
||||
),
|
||||
builder: (context, animatedSize, child) {
|
||||
return SizedBox(
|
||||
width: animatedSize,
|
||||
height: animatedSize,
|
||||
child: ClipRRect(
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
child: QrImage(
|
||||
size: animatedSize,
|
||||
embeddedImagePath: widget.from.iconPath,
|
||||
data: uri.toString(),
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
AddressFormatter.buildSegmentedAddress(
|
||||
|
||||
Reference in New Issue
Block a user