Skip to content

Commit 02e1639

Browse files
Fix behaviour of trailing icon
1 parent c64cea4 commit 02e1639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/vonderheidt/hips/ui/screens/ConversationScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ fun ConversationScreen(navController: NavController, modifier: Modifier) {
168168
modifier = modifier.weight(1f),
169169
label = { Text(text = "New message") },
170170
trailingIcon = {
171-
if (newMessageContent.isNotBlank()) {
171+
if (newMessageContent.isNotEmpty()) {
172172
Icon(
173173
imageVector = Icons.Outlined.Clear,
174174
contentDescription = "Clear new message",

0 commit comments

Comments
 (0)