Don’t show null/null in gateway card details

This commit is contained in:
Hillel Coren 2022-03-03 09:01:32 +02:00
parent 59d5c540be
commit d24cfff58c
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ class TokenMeta extends StatelessWidget {
if (meta.last4 != null) {
cardDetails += ' ${meta.last4}';
}
if (meta.expMonth != null && meta.expYear != null) {
cardDetails += ' ${meta.expMonth}/${meta.expYear}';
}