Replace Material icons with Compound icons wherever it's possible
This commit is contained in:
parent
91cf7164c1
commit
eda18f8b78
23 changed files with 51 additions and 86 deletions
|
|
@ -21,9 +21,6 @@ import androidx.compose.foundation.layout.padding
|
|||
import androidx.compose.foundation.layout.size
|
||||
import androidx.compose.foundation.rememberScrollState
|
||||
import androidx.compose.foundation.verticalScroll
|
||||
import androidx.compose.material.icons.Icons
|
||||
import androidx.compose.material.icons.filled.MoreVert
|
||||
import androidx.compose.material.icons.outlined.Add
|
||||
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.runtime.Composable
|
||||
|
|
@ -272,7 +269,7 @@ private fun RoomDetailsTopBar(
|
|||
actions = {
|
||||
if (showEdit) {
|
||||
IconButton(onClick = { showMenu = !showMenu }) {
|
||||
Icon(Icons.Default.MoreVert, stringResource(id = CommonStrings.a11y_user_menu))
|
||||
Icon(CompoundIcons.OverflowVertical(), stringResource(id = CommonStrings.a11y_user_menu))
|
||||
}
|
||||
DropdownMenu(
|
||||
expanded = showMenu,
|
||||
|
|
@ -486,7 +483,7 @@ private fun TopicSection(
|
|||
if (roomTopic is RoomTopicState.CanAddTopic) {
|
||||
PreferenceText(
|
||||
title = stringResource(R.string.screen_room_details_add_topic_title),
|
||||
icon = Icons.Outlined.Add,
|
||||
icon = CompoundIcons.Plus(),
|
||||
onClick = { onActionClick(RoomDetailsAction.AddTopic) },
|
||||
)
|
||||
} else if (roomTopic is RoomTopicState.ExistingTopic) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue