mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-08 11:59:23 +00:00
Fixes for qr/barcode on ionia gift card screen.
This commit is contained in:
parent
8bd66b64e7
commit
cb1ca8c595
1 changed files with 8 additions and 7 deletions
|
@ -90,7 +90,7 @@ class IoniaGiftCardDetailPage extends BasePage {
|
|||
horizontal: 24.0,
|
||||
vertical: 24,
|
||||
),
|
||||
child: SizedBox(height: 96, width: double.infinity, child: Image.network(viewModel.giftCard.barcodeUrl)),
|
||||
child: Image.network(viewModel.giftCard.barcodeUrl),
|
||||
),
|
||||
SizedBox(height: 24),
|
||||
buildIoniaTile(
|
||||
|
@ -98,12 +98,13 @@ class IoniaGiftCardDetailPage extends BasePage {
|
|||
title: S.of(context).gift_card_number,
|
||||
subTitle: viewModel.giftCard.cardNumber,
|
||||
),
|
||||
Divider(height: 30),
|
||||
buildIoniaTile(
|
||||
context,
|
||||
title: S.of(context).pin_number,
|
||||
subTitle: viewModel.giftCard.cardPin ?? '',
|
||||
),
|
||||
if (viewModel.giftCard.cardPin?.isNotEmpty ?? false)
|
||||
...[Divider(height: 30),
|
||||
buildIoniaTile(
|
||||
context,
|
||||
title: S.of(context).pin_number,
|
||||
subTitle: viewModel.giftCard.cardPin,
|
||||
)],
|
||||
Divider(height: 30),
|
||||
Observer(builder: (_) =>
|
||||
buildIoniaTile(
|
||||
|
|
Loading…
Reference in a new issue