NanoLedger
NanoLedger copied to clipboard
Syntax highlight parsed transactions
Hi is this issue still open? If it is then please provide me in depth about the issue so that I can try fixing?
This issue is still open, yes. The card for each transaction is rendered here: https://github.com/chvp/NanoLedger/blob/main/app/src/main/java/be/chvp/nanoledger/ui/main/MainActivity.kt#L218
We already have each element of the transaction in a different field, so this issue is mostly about finding good colours to assign to each element. Special care has to be taken that it works in both dark and light mode. If possible the colours should also be based on the user's Material You theme.
(And refactoring the code a bit so that a TransactionCard is a separate function wouldn't be bad either 😬)
Okay got it thank you!