Use tint for icons

This commit is contained in:
Lonami Exo 2022-10-24 12:20:07 +02:00
parent 0db1599cf7
commit 5bddc74f13
1 changed files with 6 additions and 3 deletions

View File

@ -72,11 +72,13 @@ fun DialogCard(dialog: Dialog, onDialogSelected: () -> Unit) {
MessageAck.RECEIVED -> {}
MessageAck.SENT -> Icon(
painterResource(R.drawable.sent),
stringResource(R.string.sent)
stringResource(R.string.sent),
tint = MaterialTheme.colors.onSurface,
)
MessageAck.SEEN -> Icon(
painterResource(R.drawable.seen),
stringResource(R.string.seen)
stringResource(R.string.seen),
tint = MaterialTheme.colors.onSurface,
)
}
Spacer(Modifier.width(8.dp))
@ -93,7 +95,8 @@ fun DialogCard(dialog: Dialog, onDialogSelected: () -> Unit) {
Icon(
painterResource(R.drawable.tack),
stringResource(R.string.pinned),
modifier = Modifier.align(Alignment.End)
tint = MaterialTheme.colors.onSurface,
modifier = Modifier.align(Alignment.End),
)
}
}