mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-03-03 07:48:36 +00:00
Fix crash when long-pressing a non-media message.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user