Fix currency in expense list tile
This commit is contained in:
parent
7262973163
commit
663b587144
|
|
@ -117,7 +117,7 @@ class _EntityListTileState extends State<EntityListTile> {
|
||||||
formatDate(entity.date, context);
|
formatDate(entity.date, context);
|
||||||
} else if (entity is ExpenseEntity) {
|
} else if (entity is ExpenseEntity) {
|
||||||
defaultSubtitle =
|
defaultSubtitle =
|
||||||
formatNumber(entity.amount, context, clientId: entity.clientId)! +
|
formatNumber(entity.amount, context, currencyId: entity.currencyId)! +
|
||||||
' • ' +
|
' • ' +
|
||||||
formatDate(entity.date, context);
|
formatDate(entity.date, context);
|
||||||
} else if (entity is TransactionEntity) {
|
} else if (entity is TransactionEntity) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue