Showing other party name in bold
This commit is contained in:
parent
1890fd9151
commit
d98cbb2363
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue