-
Notifications
You must be signed in to change notification settings - Fork 739
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
Fix crash to render failed message warning stub #4105
Conversation
I don't see how it's fixing 3833? |
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.
See my remarks
@@ -98,7 +98,7 @@ | |||
android:layout_width="wrap_content" | |||
android:layout_height="wrap_content" | |||
app:barrierDirection="top" | |||
app:constraint_referenced_ids="composerLayout,notificationAreaView,failedMessagesWarningView" /> | |||
app:constraint_referenced_ids="composerLayout,notificationAreaView,failedMessagesWarningStub" /> |
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 think the other Barrier needs to update too
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.
It's already failedMessagesWarningStub
, do you confirm it's wrong?
https://github.com/vector-im/element-android/blob/develop/vector/src/main/res/layout/fragment_room_detail.xml#L207
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.
Yes, it is.
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.
it is... wrong?
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, crash reproduced and fix tested OK, but the changelog file is not correct.
Can you update it please?
It should be file 4105.bugfix
with content "Fix a crash (regression in 1.3.0) in the timeline when a message has failed to be sent"
changelog.d/3833.bugfix
Outdated
@@ -0,0 +1 @@ | |||
[Bug|Crash] Voice Messages sending need more robustfully |
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.
This is not really related to voice message, and/or issue 3833.
Fixes #4110