mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 20:34:49 +01:00
Request sync for syncing folders only
This commit is contained in:
@@ -51,8 +51,8 @@ public interface DaoOperation {
|
||||
@Query("SELECT * FROM operation ORDER BY id")
|
||||
List<EntityOperation> getOperations();
|
||||
|
||||
@Query("SELECT * FROM operation ORDER BY id LIMIT 1")
|
||||
EntityOperation getOperationFirst();
|
||||
@Query("SELECT * FROM operation WHERE error IS NOT NULL")
|
||||
List<EntityOperation> getOperationsError();
|
||||
|
||||
@Query("SELECT COUNT(id) FROM operation" +
|
||||
" WHERE folder = :folder" +
|
||||
|
||||
@@ -211,7 +211,7 @@ public class FragmentMessages extends FragmentEx {
|
||||
|
||||
List<EntityFolder> folders = new ArrayList<>();
|
||||
if (fid < 0)
|
||||
folders.addAll(db.folder().getUnifiedFolders());
|
||||
folders.addAll(db.folder().getFoldersSynchronizingUnified());
|
||||
else
|
||||
folders.add(db.folder().getFolder(fid));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user