Apply correct text color to audio playback speed button#6223
Apply correct text color to audio playback speed button#6223VelikovPetar wants to merge 1 commit intov7from
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
PR checklist ✅All required conditions are satisfied:
🎉 Great job! This PR is ready for review. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughAdded a color parameter to the SpeedButton Text composable in AudioRecordAttachmentContent.kt to explicitly set the text color using ChatTheme.colors.controlPlaybackToggleText, ensuring consistent UI theming. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
SDK Size Comparison 📏
|
Goal
The playback speed button text in audio record attachments was not using the correct theme color token, causing it to appear incorrectly in dark mode.
Implementation
Added
color = ChatTheme.colors.controlPlaybackToggleTextto theTextcomposable insideSpeedButton, so the label respects the theme color in both light and dark mode.Testing
Summary by CodeRabbit