mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-10 11:03:41 +02:00
Revert "Make sure messages is update on swipe"
This reverts commit 698337ee4f.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user