From d98cbb2363218ab24eb7027f3876c4915829ee0e Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 11 Sep 2024 16:27:57 +0200 Subject: [PATCH] Showing other party name in bold --- .../banking/ui/composables/transactions/TransactionListItem.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/transactions/TransactionListItem.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/transactions/TransactionListItem.kt index 12586c8..33cea56 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/transactions/TransactionListItem.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/transactions/TransactionListItem.kt @@ -9,6 +9,7 @@ import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.input.pointer.pointerInput +import androidx.compose.ui.text.font.FontWeight import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.DpOffset import androidx.compose.ui.unit.dp @@ -82,6 +83,7 @@ fun TransactionListItem(user: User?, transaction: AccountTransactionViewModel, i Text( text = transaction.otherPartyName ?: "", Modifier.fillMaxWidth(), + fontWeight = FontWeight.Bold, maxLines = 1, overflow = TextOverflow.Ellipsis )