forked from reya/coop-mobile
chore: remove force unwraps (#30)
Reviewed-on: https://git.reya.su/reya/coop-mobile/pulls/30
This commit is contained in:
@@ -741,7 +741,7 @@ fun ChatRoom(room: Room, onClick: () -> Unit) {
|
||||
supportingContent = {
|
||||
if (!room.lastMessage.isNullOrBlank()) {
|
||||
Text(
|
||||
text = room.lastMessage!!,
|
||||
text = room.lastMessage ?: "",
|
||||
style = MaterialTheme.typography.bodyMedium,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
maxLines = 1,
|
||||
|
||||
Reference in New Issue
Block a user