diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/NavigationMenuItem.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/NavigationMenuItem.kt index 36ba8aa..6aa78bb 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/NavigationMenuItem.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/NavigationMenuItem.kt @@ -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) ) }