mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Fetch live data on foreground
This commit is contained in:
parent
1a55487a00
commit
27bce77069
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ public class ViewModelMessages extends ViewModel {
|
|||
private AdapterMessage.ViewType last = AdapterMessage.ViewType.UNIFIED;
|
||||
private Map<AdapterMessage.ViewType, Model> models = new HashMap<>();
|
||||
|
||||
private ExecutorService executor = Executors.newCachedThreadPool(Helper.backgroundThreadFactory);
|
||||
private ExecutorService executor = Executors.newCachedThreadPool(Helper.foregroundThreadFactory);
|
||||
|
||||
private static final int LOCAL_PAGE_SIZE = 100;
|
||||
private static final int REMOTE_PAGE_SIZE = 10;
|
||||
|
|
Loading…
Reference in a new issue