Remove fontWeight parameter. Must use style only.
This commit is contained in:
parent
ff5cecb5cf
commit
92bc490fa3
12 changed files with 40 additions and 45 deletions
|
|
@ -264,8 +264,7 @@ private fun LabelledReadOnlyField(
|
|||
) {
|
||||
Text(
|
||||
modifier = Modifier.padding(horizontal = 16.dp),
|
||||
style = MaterialTheme.typography.titleSmall,
|
||||
fontWeight = FontWeight.Normal,
|
||||
style = ElementTheme.typography.fontBodyMdRegular,
|
||||
color = MaterialTheme.colorScheme.primary,
|
||||
text = title,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -174,8 +174,8 @@ private fun RoomInviteMembersSearchBar(
|
|||
resultState = state,
|
||||
resultHandler = { results ->
|
||||
Text(
|
||||
text = "Search results",
|
||||
fontWeight = FontWeight.Medium,
|
||||
text = stringResource(id = CommonStrings.common_search_results),
|
||||
style = ElementTheme.typography.fontBodyLgMedium,
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(start = 16.dp, top = 12.dp, end = 16.dp, bottom = 8.dp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue