fix send external qr size (#3299)

This commit is contained in:
malik1004x
2026-06-04 18:13:02 +02:00
committed by GitHub
parent 8c1c700b93
commit ba80309ff3
@@ -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(