Use right chevron icon from design system#6408
Conversation
PR checklist ✅All required conditions are satisfied:
🎉 Great job! This PR is ready for review. |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
WalkthroughThe ChangesIcon Resource Migration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 📏
|
|
|
🚀 Available in v7.1.0 |



Goal
ChannelInfoOptionusedIcons.AutoMirrored.Filled.KeyboardArrowRightfromandroidx.compose.material:material-icons-core. That artifact wasn't declared as a dependency ofstream-chat-android-compose. It was pulled in transitively viamaterial3, which used to expose it as anapidependency.In recent Compose versions,
material3no longer re-exportsmaterial-icons-core. Consumer apps using a newer Compose BOM than what the SDK was built against end up without the icon class on their runtime classpath. Their build still succeeds (because their own code doesn't importIcons), but the momentGroupChannelInfoScreen/DirectChannelInfoScreenrenders the option row, the app crashes withNoClassDefFoundError.Also, we should use design system icons now that we have them.
Implementation
Replaced the Material icon with our existing design-system drawable
R.drawable.stream_design_ic_chevron_right.🎨 UI Changes
Please check the updated snapshots
Testing
Repro steps:
io.getstream:stream-chat-android-compose:7.0.1andandroidx.compose:compose-bom:2026.02.01.GroupChannelInfoScreenorDirectChannelInfoScreen.NoClassDefFoundError: androidx.compose.material.icons.automirrored.filled.KeyboardArrowRightas soon as the option rows render.To verify the fix you'd have to publish a local version of Stream Chat, use it in step 1 above, and verify it doesn't crash anymore
Summary by CodeRabbit