fix loading indicator alignment for business QR code

This commit is contained in:
2026-02-18 10:41:49 +02:00
parent a7effa3576
commit f137ea41ac
3 changed files with 16 additions and 18 deletions

View File

@@ -298,7 +298,9 @@ class _MihBusinessQrCodeState extends State<MihBusinessQrCode> {
height: 300,
child: CachedNetworkImage(
imageUrl: getQrCodeData(qrSize.toInt()),
placeholder: (context, url) => const Mihloadingcircle(),
placeholder: (context, url) => FittedBox(
child: const Mihloadingcircle(),
),
errorWidget: (context, url, error) =>
const Icon(Icons.error),
),