We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2e357c commit df9a3feCopy full SHA for df9a3fe
1 file changed
features/joinroom/impl/src/main/kotlin/io/element/android/features/joinroom/impl/JoinRoomView.kt
@@ -609,6 +609,7 @@ private fun JoinRoomTopBar(
609
val roundedCornerShape = RoundedCornerShape(8.dp)
610
val titleModifier = Modifier
611
.clip(roundedCornerShape)
612
+ .semantics { heading() }
613
if (contentState.name != null) {
614
Row(
615
modifier = titleModifier,
@@ -621,10 +622,7 @@ private fun JoinRoomTopBar(
621
622
)
623
Text(
624
modifier = Modifier
- .padding(horizontal = 8.dp)
625
- .semantics {
626
- heading()
627
- },
+ .padding(horizontal = 8.dp),
628
text = contentState.name,
629
style = ElementTheme.typography.fontBodyLgMedium,
630
maxLines = 1,
0 commit comments