Don’t show null/null in gateway card details
This commit is contained in:
parent
59d5c540be
commit
d24cfff58c
|
|
@ -16,6 +16,7 @@ class TokenMeta extends StatelessWidget {
|
||||||
if (meta.last4 != null) {
|
if (meta.last4 != null) {
|
||||||
cardDetails += ' ${meta.last4}';
|
cardDetails += ' ${meta.last4}';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (meta.expMonth != null && meta.expYear != null) {
|
if (meta.expMonth != null && meta.expYear != null) {
|
||||||
cardDetails += ' ${meta.expMonth}/${meta.expYear}';
|
cardDetails += ' ${meta.expMonth}/${meta.expYear}';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue