Skip to content

Refactor complex code#53

Merged
klowdo merged 2 commits intomainfrom
claude/refactor-complex-mkd3o443fjyah73p-bfTeD
Jan 14, 2026
Merged

Refactor complex code#53
klowdo merged 2 commits intomainfrom
claude/refactor-complex-mkd3o443fjyah73p-bfTeD

Conversation

@klowdo
Copy link
Owner

@klowdo klowdo commented Jan 13, 2026

  • Extract duplicated email/phone icon rendering into nested ContactItemIcon class
  • Replace magic numbers with named constants (IconSize, IconTextSize, etc.)
  • Separate canvas drawing logic into DrawIconWithBackground method
  • Make contact items data-driven for easier extensibility
  • Remove unused commented-out code

- Extract duplicated email/phone icon rendering into nested ContactItemIcon class
- Replace magic numbers with named constants (IconSize, IconTextSize, etc.)
- Separate canvas drawing logic into DrawIconWithBackground method
- Make contact items data-driven for easier extensibility
- Remove unused commented-out code
@klowdo
Copy link
Owner Author

klowdo commented Jan 13, 2026

@claude can you check this

Convert method reference to inline lambda to ensure compatibility
with QuestPDF's Canvas delegate signature.
@klowdo klowdo merged commit c06b5ac into main Jan 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants