-
Notifications
You must be signed in to change notification settings - Fork 27
Fix Split chat not working on Livestreams #688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The LinearLayout only stretches as far as the text, not the row. I thought of trying to set the width to the whole space, but that might introduce other bugs that could be a headache to deal with. |
9401950
to
f2b6a6b
Compare
f2b6a6b
to
7cdc9d8
Compare
I made it so that comments are as wide as the parent element now. This should make the entire "row" colored. I tested it for a bit and at least couldn't immediately find any bugs because of this change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Highly appreciate your help!
Only one minor thing I'd like to have changed with this.
Co-authored-by: Max Baumann <max@bmn.dev>
Co-authored-by: Max Baumann <max@bmn.dev>
Co-authored-by: Max Baumann <max@bmn.dev> Apply suggestions from code review Co-authored-by: Max Baumann <max@bmn.dev> Update SplitChat.java Fix typo
This should be all of the changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉️
Fixes #673
Changes
Twitch changed chat messages in Live Streams to be LinearLayouts with the chat_message_item as a child. This fixes it to target the child rather than the LinearLayout to make Split Chat work again.
Checklist
I use the "bttv_" prefix for all resources I proposeWhen adding a string I also added it to thebttv.Res.strings
Enum andres/values/strings.xml
(inmod
) andres/values/public.xml
(indisass
)If my change is significant enough, I added it to the CHANGELOG.md undermaster
I'll add myself and everyone else who contributed to this change to the contributors list using all-contributors