Use tint for icons
This commit is contained in:
parent
0db1599cf7
commit
5bddc74f13
|
@ -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),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue