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),
|
||||
)
|
||||
if (category.isDefault) {
|
||||
Icon(
|
||||
imageVector = Icons.Outlined.Lock,
|
||||
contentDescription = stringResource(R.string.category_default_lock),
|
||||
tint = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||
)
|
||||
IconButton(onClick = {}, enabled = false) {
|
||||
Icon(
|
||||
imageVector = Icons.Outlined.Lock,
|
||||
contentDescription = stringResource(R.string.category_default_lock),
|
||||
)
|
||||
}
|
||||
} else {
|
||||
IconButton(onClick = onDelete) {
|
||||
Icon(
|
||||
|
||||
Reference in New Issue
Block a user