Fixed text color of balance if showColoredAmounts is false
This commit is contained in:
parent
df093d0cd3
commit
ff8bf80f6d
|
@ -101,7 +101,7 @@ fun NavigationMenuItem(
|
|||
if (balance != null) {
|
||||
Text(
|
||||
formatUtil.formatAmount(balance, calculator.getTransactionsCurrency(emptyList())),
|
||||
color = formatUtil.getColorForAmount(balance, showColoredAmounts),
|
||||
color = if (showColoredAmounts) formatUtil.getColorForAmount(balance, showColoredAmounts) else textColor,
|
||||
modifier = Modifier.padding(start = 4.dp)
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue