From f440a01531dd6069e8e44dbaa290e04eeff1e62a Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 9 Sep 2024 22:54:33 +0200 Subject: [PATCH] Fixed spacing between item text and balance --- .../net/codinux/banking/ui/composables/NavigationMenuItem.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 9ec4560..87b778c 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 @@ -86,7 +86,8 @@ fun NavigationMenuItem( if (balance != null) { Text( formatUtil.formatAmount(balance, calculator.getTransactionsCurrency(emptyList())), - color = if (showColoredAmounts) formatUtil.getColorForAmount(balance) else textColor + color = if (showColoredAmounts) formatUtil.getColorForAmount(balance) else textColor, + modifier = Modifier.padding(start = 4.dp) ) } }