fix(#31): vertical-align lock icon with trash icon in category rows #34

Merged
admin merged 1 commits from fix/31-vertical-align-lock-icon into main 2026-06-28 14:21:13 +00:00
Owner

Summary

  • Wrap the default-category lock Icon in an IconButton(enabled = false) so it occupies the same 48dp container as the trash IconButton and is vertically centered on the same baseline.
  • Drop the explicit tint on the lock; IconButton(enabled = false) applies the dimmed onSurfaceVariant content color automatically, so the lock still reads as non-interactive.

Test plan

  • ./gradlew :app:assembleDebug — build succeeds.
  • Open Categories — confirm the lock icon on default rows (e.g. "Uncategorized") sits at the same vertical center as the trash icon on user rows (e.g. "Transport").
  • Confirm the lock icon has no ripple and is not clickable; the trash icon is unchanged and still deletes.

Closes #31

## Summary - Wrap the default-category lock `Icon` in an `IconButton(enabled = false)` so it occupies the same 48dp container as the trash `IconButton` and is vertically centered on the same baseline. - Drop the explicit `tint` on the lock; `IconButton(enabled = false)` applies the dimmed `onSurfaceVariant` content color automatically, so the lock still reads as non-interactive. ## Test plan - [x] `./gradlew :app:assembleDebug` — build succeeds. - [ ] Open Categories — confirm the lock icon on default rows (e.g. "Uncategorized") sits at the same vertical center as the trash icon on user rows (e.g. "Transport"). - [ ] Confirm the lock icon has no ripple and is not clickable; the trash icon is unchanged and still deletes. Closes #31
admin added 1 commit 2026-06-28 14:09:41 +00:00
admin merged commit de4d411a58 into main 2026-06-28 14:21:13 +00:00
admin deleted branch fix/31-vertical-align-lock-icon 2026-06-28 15:01:32 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/ledgerr#34