Request sync for syncing folders only

pull/147/head
M66B 6 years ago
parent 50b0781ba9
commit 693ca7c85f

@ -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));

Loading…
Cancel
Save