fix(ui) : update timeline informative view
This commit is contained in:
parent
5486a08b18
commit
255c880b34
1 changed files with 13 additions and 7 deletions
|
|
@ -8,8 +8,10 @@
|
||||||
package io.element.android.features.messages.impl.timeline.components.event
|
package io.element.android.features.messages.impl.timeline.components.event
|
||||||
|
|
||||||
import androidx.annotation.DrawableRes
|
import androidx.annotation.DrawableRes
|
||||||
|
import androidx.compose.foundation.layout.Box
|
||||||
import androidx.compose.foundation.layout.Row
|
import androidx.compose.foundation.layout.Row
|
||||||
import androidx.compose.foundation.layout.Spacer
|
import androidx.compose.foundation.layout.Spacer
|
||||||
|
import androidx.compose.foundation.layout.height
|
||||||
import androidx.compose.foundation.layout.size
|
import androidx.compose.foundation.layout.size
|
||||||
import androidx.compose.foundation.layout.width
|
import androidx.compose.foundation.layout.width
|
||||||
import androidx.compose.material3.MaterialTheme
|
import androidx.compose.material3.MaterialTheme
|
||||||
|
|
@ -44,14 +46,18 @@ fun TimelineItemInformativeView(
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
|
||||||
) {
|
) {
|
||||||
Icon(
|
Box(
|
||||||
resourceId = iconResourceId,
|
contentAlignment = Alignment.Center,
|
||||||
tint = MaterialTheme.colorScheme.secondary,
|
modifier = Modifier.height(20.dp)
|
||||||
contentDescription = iconDescription,
|
) {
|
||||||
modifier = Modifier.size(16.dp)
|
Icon(
|
||||||
)
|
resourceId = iconResourceId,
|
||||||
|
tint = MaterialTheme.colorScheme.secondary,
|
||||||
|
contentDescription = iconDescription,
|
||||||
|
modifier = Modifier.size(16.dp)
|
||||||
|
)
|
||||||
|
}
|
||||||
Spacer(modifier = Modifier.width(4.dp))
|
Spacer(modifier = Modifier.width(4.dp))
|
||||||
Text(
|
Text(
|
||||||
fontStyle = FontStyle.Italic,
|
fontStyle = FontStyle.Italic,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue