Revert "Make sure messages is update on swipe"

This reverts commit 698337ee4f.
pull/174/head
M66B 5 years ago
parent dc8a096c91
commit ef4e6745ef

@ -4691,10 +4691,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
same = false;
Log.i("keyword colors changed id=" + next.id);
}
if (prev.update) {
Log.i("Always update");
same = false;
}
return same;
}

@ -1726,8 +1726,6 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
return;
}
message.update = true;
if (message.accountProtocol != EntityAccount.TYPE_IMAP)
if (direction == ItemTouchHelper.LEFT) {
adapter.notifyItemChanged(pos);

@ -59,10 +59,7 @@ public class TupleMessageEx extends EntityMessage {
public Integer ui_importance;
@Ignore
public boolean update = false;
@Ignore
public boolean duplicate;
boolean duplicate;
@Ignore
public Integer[] keyword_colors;

Loading…
Cancel
Save