don't hide indicator on merged messages
This commit is contained in:
parent
a2a943c36a
commit
b26adc84b0
|
@ -998,16 +998,16 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||
|
||||
if (viewHolder.contact_picture != null)
|
||||
viewHolder.contact_picture.setVisibility(mergeableWithNext ? View.INVISIBLE : View.VISIBLE);
|
||||
if (viewHolder.edit_indicator != null)
|
||||
viewHolder.edit_indicator.setVisibility(mergeableWithNext ? View.GONE : viewHolder.edit_indicator.getVisibility());
|
||||
if (viewHolder.encryption != null)
|
||||
viewHolder.encryption.setVisibility(mergeableWithNext ? View.GONE : viewHolder.encryption.getVisibility());
|
||||
if (viewHolder.indicator != null)
|
||||
viewHolder.indicator.setVisibility(mergeableWithNext ? View.GONE : viewHolder.indicator.getVisibility());
|
||||
// if (viewHolder.edit_indicator != null)
|
||||
// viewHolder.edit_indicator.setVisibility(mergeableWithNext ? View.GONE : viewHolder.edit_indicator.getVisibility());
|
||||
// if (viewHolder.encryption != null)
|
||||
// viewHolder.encryption.setVisibility(mergeableWithNext ? View.GONE : viewHolder.encryption.getVisibility());
|
||||
// if (viewHolder.indicator != null)
|
||||
// viewHolder.indicator.setVisibility(mergeableWithNext ? View.GONE : viewHolder.indicator.getVisibility());
|
||||
// if (viewHolder.time != null)
|
||||
// viewHolder.time.setVisibility(mergeableWithNext ? View.GONE : View.VISIBLE);
|
||||
if (viewHolder.indicatorReceived != null)
|
||||
viewHolder.indicatorReceived.setVisibility(mergeableWithNext ? View.GONE : viewHolder.indicatorReceived.getVisibility());
|
||||
// if (viewHolder.indicatorReceived != null)
|
||||
// viewHolder.indicatorReceived.setVisibility(mergeableWithNext ? View.GONE : viewHolder.indicatorReceived.getVisibility());
|
||||
|
||||
if (mergeableWithPrev && mergeableWithNext) {
|
||||
view.setPadding(view.getPaddingLeft(), 0, view.getPaddingRight(), 0);
|
||||
|
|
Loading…
Reference in a new issue