mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-09 20:39:35 +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,
|
horizontal: 24.0,
|
||||||
vertical: 24,
|
vertical: 24,
|
||||||
),
|
),
|
||||||
child: SizedBox(height: 96, width: double.infinity, child: Image.network(viewModel.giftCard.barcodeUrl)),
|
child: Image.network(viewModel.giftCard.barcodeUrl),
|
||||||
),
|
),
|
||||||
SizedBox(height: 24),
|
SizedBox(height: 24),
|
||||||
buildIoniaTile(
|
buildIoniaTile(
|
||||||
|
@ -98,12 +98,13 @@ class IoniaGiftCardDetailPage extends BasePage {
|
||||||
title: S.of(context).gift_card_number,
|
title: S.of(context).gift_card_number,
|
||||||
subTitle: viewModel.giftCard.cardNumber,
|
subTitle: viewModel.giftCard.cardNumber,
|
||||||
),
|
),
|
||||||
Divider(height: 30),
|
if (viewModel.giftCard.cardPin?.isNotEmpty ?? false)
|
||||||
|
...[Divider(height: 30),
|
||||||
buildIoniaTile(
|
buildIoniaTile(
|
||||||
context,
|
context,
|
||||||
title: S.of(context).pin_number,
|
title: S.of(context).pin_number,
|
||||||
subTitle: viewModel.giftCard.cardPin ?? '',
|
subTitle: viewModel.giftCard.cardPin,
|
||||||
),
|
)],
|
||||||
Divider(height: 30),
|
Divider(height: 30),
|
||||||
Observer(builder: (_) =>
|
Observer(builder: (_) =>
|
||||||
buildIoniaTile(
|
buildIoniaTile(
|
||||||
|
|
Loading…
Reference in a new issue