mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Remove unused resource, and use compound icons when possible.
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ private fun PollTitle(
|
||||
)
|
||||
} else {
|
||||
Icon(
|
||||
resourceId = CommonDrawables.ic_poll,
|
||||
resourceId = CommonDrawables.ic_compound_polls,
|
||||
contentDescription = stringResource(id = CommonStrings.a11y_poll),
|
||||
modifier = Modifier.size(22.dp)
|
||||
)
|
||||
|
||||
+1
-1
@@ -165,7 +165,7 @@ fun CreatePollView(
|
||||
},
|
||||
trailingContent = ListItemContent.Custom {
|
||||
Icon(
|
||||
resourceId = CommonDrawables.ic_delete,
|
||||
resourceId = CommonDrawables.ic_compound_delete,
|
||||
contentDescription = null,
|
||||
modifier = Modifier.clickable(answer.canDelete) {
|
||||
state.eventSink(CreatePollEvents.RemoveAnswer(index))
|
||||
|
||||
Reference in New Issue
Block a user