-
Notifications
You must be signed in to change notification settings - Fork 856
Fixes timeline crash due to additionalTopSpace #5534
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
Unit Test Results 98 files ± 0 98 suites ±0 1m 6s ⏱️ -8s Results for commit 184b35a. ± Comparison against base commit acfeb7f. This pull request removes 1 and adds 5 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
mnaturel
left a comment
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.
Thanks for the fix! Okay for me, just 1 question about changelog entry.
changelog.d/5534.bugfix
Outdated
| @@ -0,0 +1 @@ | |||
| Fixes crash upon opening timeline due to additionalTopSpace | |||
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.
I am wondering if this fix needs an entry. Is the crash on the current release?
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.
After several discussions, updated the PR and removed the changelog 👍️
Type of change
Content
Fixes a crash due to a view with id R.id.additionalTopSpace not being found in the base timeline view. This is a view that's only being used in bubbles
Motivation and context
Closes #5535 and https://github.com/matrix-org/element-android-rageshakes/issues/35624
The additionalTopSpace view is only being used in bubbles so I reduced its scope to only the bubbles view rather than the base timeline view.
I also included some slight refactoring of the bubbles view class for readability
Screenshots / GIFs
No UI changes but simple confirmation that top space above bubbles works as expected
Tests
Tested devices
Checklist