Fix compilation issue.
This commit is contained in:
parent
6791890bf9
commit
4e043bfa40
6 changed files with 6 additions and 6 deletions
|
|
@ -81,7 +81,7 @@ private fun SpaceAnnouncementHeader(
|
||||||
showBetaLabel = true,
|
showBetaLabel = true,
|
||||||
subTitle = stringResource(id = R.string.screen_space_announcement_subtitle),
|
subTitle = stringResource(id = R.string.screen_space_announcement_subtitle),
|
||||||
iconStyle = BigIcon.Style.Default(
|
iconStyle = BigIcon.Style.Default(
|
||||||
vectorIcon = CompoundIcons.WorkspaceSolid(),
|
vectorIcon = CompoundIcons.SpaceSolid(),
|
||||||
usePrimaryTint = true,
|
usePrimaryTint = true,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ enum class HomeNavigationBarItem(
|
||||||
isSelected: Boolean,
|
isSelected: Boolean,
|
||||||
) = when (this) {
|
) = when (this) {
|
||||||
Chats -> if (isSelected) CompoundIcons.ChatSolid() else CompoundIcons.Chat()
|
Chats -> if (isSelected) CompoundIcons.ChatSolid() else CompoundIcons.Chat()
|
||||||
Spaces -> if (isSelected) CompoundIcons.WorkspaceSolid() else CompoundIcons.Workspace()
|
Spaces -> if (isSelected) CompoundIcons.SpaceSolid() else CompoundIcons.Space()
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
|
|
||||||
|
|
@ -218,7 +218,7 @@ private fun RoomAccessSection(
|
||||||
Text(text = stringResource(R.string.screen_security_and_privacy_room_access_space_members_option_unavailable_description))
|
Text(text = stringResource(R.string.screen_security_and_privacy_room_access_space_members_option_unavailable_description))
|
||||||
},
|
},
|
||||||
trailingContent = ListItemContent.RadioButton(selected = edited == SecurityAndPrivacyRoomAccess.SpaceMember, enabled = false),
|
trailingContent = ListItemContent.RadioButton(selected = edited == SecurityAndPrivacyRoomAccess.SpaceMember, enabled = false),
|
||||||
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.Workspace())),
|
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.Space())),
|
||||||
enabled = false,
|
enabled = false,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ fun SpaceHeaderRootView(
|
||||||
verticalArrangement = Arrangement.spacedBy(16.dp)
|
verticalArrangement = Arrangement.spacedBy(16.dp)
|
||||||
) {
|
) {
|
||||||
BigIcon(
|
BigIcon(
|
||||||
style = BigIcon.Style.Default(CompoundIcons.WorkspaceSolid())
|
style = BigIcon.Style.Default(CompoundIcons.SpaceSolid())
|
||||||
)
|
)
|
||||||
Text(
|
Text(
|
||||||
text = stringResource(CommonStrings.screen_space_list_title),
|
text = stringResource(CommonStrings.screen_space_list_title),
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ internal fun SpaceInfoRowPreview() = ElementPreview {
|
||||||
SpaceInfoRow(
|
SpaceInfoRow(
|
||||||
leftText = "Element space",
|
leftText = "Element space",
|
||||||
rightText = numberOfRooms(16),
|
rightText = numberOfRooms(16),
|
||||||
iconVector = CompoundIcons.Workspace(),
|
iconVector = CompoundIcons.Space(),
|
||||||
)
|
)
|
||||||
SpaceInfoRow(
|
SpaceInfoRow(
|
||||||
visibility = SpaceRoomVisibility.Private,
|
visibility = SpaceRoomVisibility.Private,
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ val SpaceRoomVisibility.icon: ImageVector
|
||||||
return when (this) {
|
return when (this) {
|
||||||
SpaceRoomVisibility.Private -> CompoundIcons.LockSolid()
|
SpaceRoomVisibility.Private -> CompoundIcons.LockSolid()
|
||||||
SpaceRoomVisibility.Public -> CompoundIcons.Public()
|
SpaceRoomVisibility.Public -> CompoundIcons.Public()
|
||||||
SpaceRoomVisibility.Restricted -> CompoundIcons.Workspace()
|
SpaceRoomVisibility.Restricted -> CompoundIcons.Space()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue