fix(#31): vertical-align lock icon with trash icon in category rows
This commit is contained in:
@@ -201,11 +201,12 @@ private fun CategoryRow(
|
|||||||
modifier = Modifier.weight(1f),
|
modifier = Modifier.weight(1f),
|
||||||
)
|
)
|
||||||
if (category.isDefault) {
|
if (category.isDefault) {
|
||||||
Icon(
|
IconButton(onClick = {}, enabled = false) {
|
||||||
imageVector = Icons.Outlined.Lock,
|
Icon(
|
||||||
contentDescription = stringResource(R.string.category_default_lock),
|
imageVector = Icons.Outlined.Lock,
|
||||||
tint = MaterialTheme.colorScheme.onSurfaceVariant,
|
contentDescription = stringResource(R.string.category_default_lock),
|
||||||
)
|
)
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
IconButton(onClick = onDelete) {
|
IconButton(onClick = onDelete) {
|
||||||
Icon(
|
Icon(
|
||||||
|
|||||||
Reference in New Issue
Block a user