Fix crash when long-pressing a non-media message.
This commit is contained in:
parent
4eddeb74c5
commit
159d0109b9
1 changed files with 3 additions and 3 deletions
|
@ -1614,8 +1614,8 @@ public class ConversationFragment extends LoggingFragment implements Multiselect
|
|||
bodyBubble.setVisibility(View.INVISIBLE);
|
||||
conversationItem.reactionsView.setVisibility(View.INVISIBLE);
|
||||
|
||||
boolean quotedIndicatorVisible = conversationItem.quotedIndicator.getVisibility() == View.VISIBLE;
|
||||
if (quotedIndicatorVisible) {
|
||||
boolean quotedIndicatorVisible = conversationItem.quotedIndicator != null && conversationItem.quotedIndicator.getVisibility() == View.VISIBLE;
|
||||
if (quotedIndicatorVisible && conversationItem.quotedIndicator != null) {
|
||||
ViewUtil.fadeOut(conversationItem.quotedIndicator, 150, View.INVISIBLE);
|
||||
}
|
||||
|
||||
|
@ -1655,7 +1655,7 @@ public class ConversationFragment extends LoggingFragment implements Multiselect
|
|||
|
||||
bodyBubble.setVisibility(View.VISIBLE);
|
||||
conversationItem.reactionsView.setVisibility(View.VISIBLE);
|
||||
if (quotedIndicatorVisible) {
|
||||
if (quotedIndicatorVisible && conversationItem.quotedIndicator != null) {
|
||||
ViewUtil.fadeIn(conversationItem.quotedIndicator, 150);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue