Skip to content

Conversation

@guiyanakuang
Copy link
Member

@guiyanakuang guiyanakuang commented Feb 2, 2026

Closes #3725

Summary

  • Add @Composable extension function PasteType.getPasteTypeExt() that resolves the themed PasteTypeExt from LocalThemeExtState
  • Maps each PasteType (TEXT, IMAGE, FILE, URL, COLOR, HTML, RTF) to its corresponding themed extension
  • Falls back to textPasteTypeExt for unknown types

Test plan

  • Verify the app compiles successfully
  • Confirm paste type icons render correctly in UI components using this helper

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@guiyanakuang guiyanakuang merged commit a77d9f2 into main Feb 2, 2026
2 checks passed
@guiyanakuang guiyanakuang deleted the feat/issue-3725-get-paste-type-ext-helper branch February 2, 2026 10:10
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.

Add getPasteTypeExt() composable helper for PasteType

1 participant