Reuse fillMaxWidth on MatrixUserRow
This commit is contained in:
parent
ceef65316e
commit
a1fe191b64
1 changed files with 2 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ import androidx.compose.foundation.clickable
|
|||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.IntrinsicSize
|
||||
import androidx.compose.foundation.layout.Row
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.height
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
|
|
@ -50,6 +51,7 @@ fun MatrixUserRow(
|
|||
Row(
|
||||
modifier = modifier
|
||||
.let { if (onClick != null) it.clickable(onClick = onClick) else it }
|
||||
.fillMaxWidth()
|
||||
.padding(start = 16.dp, top = 8.dp, end = 16.dp, bottom = 8.dp)
|
||||
.height(IntrinsicSize.Min),
|
||||
verticalAlignment = Alignment.CenterVertically
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue