@@ -354,7 +354,8 @@ private fun EmptySpaceView(
354354 title = stringResource(R .string.screen_space_empty_state_title),
355355 subTitle = null ,
356356 iconStyle = BigIcon .Style .Default (vectorIcon = CompoundIcons .Room (), usePrimaryTint = true ),
357- modifier = Modifier .fillMaxWidth()
357+ modifier = Modifier
358+ .fillMaxWidth()
358359 .padding(top = 40 .dp, start = 24 .dp, end = 24 .dp, bottom = 24 .dp),
359360 )
360361 ButtonColumnMolecule (
@@ -425,6 +426,7 @@ private fun SpaceViewTopBar(
425426 modifier = Modifier
426427 .clip(roundedCornerShape)
427428 .clickable(enabled = canAccessSpaceSettings, onClick = onSettingsClick)
429+ .semantics { heading() }
428430 )
429431 },
430432 actions = {
@@ -532,6 +534,7 @@ private fun ManageModeTopBar(
532534 Text (
533535 text = pluralStringResource(CommonPlurals .common_selected_count, selectedCount, selectedCount),
534536 style = ElementTheme .typography.fontBodyLgMedium,
537+ modifier = Modifier .semantics { heading() },
535538 )
536539 },
537540 actions = {
@@ -585,10 +588,7 @@ private fun SpaceAvatarAndNameRow(
585588 )
586589 Text (
587590 modifier = Modifier
588- .padding(horizontal = 8 .dp)
589- .semantics {
590- heading()
591- },
591+ .padding(horizontal = 8 .dp),
592592 text = name ? : stringResource(CommonStrings .common_no_space_name),
593593 style = ElementTheme .typography.fontBodyLgMedium,
594594 fontStyle = FontStyle .Italic .takeIf { name == null },
0 commit comments