mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 01:21:11 +01:00
Small improvements
This commit is contained in:
@@ -72,8 +72,7 @@ public class AdapterLog extends RecyclerView.Adapter<AdapterLog.ViewHolder> {
|
||||
public void set(@NonNull List<EntityLog> logs) {
|
||||
Log.i(Helper.TAG, "Set logs=" + logs.size());
|
||||
|
||||
all.clear();
|
||||
all.addAll(logs);
|
||||
all = logs;
|
||||
|
||||
DiffUtil.DiffResult diff = DiffUtil.calculateDiff(new MessageDiffCallback(filtered, all));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user