Simplified executors

This commit is contained in:
M66B
2023-01-13 17:38:41 +01:00
parent 3e6ed3cb04
commit 51f3f150d7
9 changed files with 26 additions and 28 deletions

View File

@@ -337,9 +337,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
private DateFormat DTF;
private static final ExecutorService executorDiffer =
Helper.getBackgroundExecutor(0, 0, 3, "differ");
Helper.getBackgroundExecutor(0, "differ");
private static final ExecutorService executorAvatar =
Helper.getBackgroundExecutor(0, 0, 3, "avatar");
Helper.getBackgroundExecutor(0, "avatar");
private static final int MAX_RECIPIENTS_COMPACT = 3;
private static final int MAX_RECIPIENTS_NORMAL = 7;