mirror of https://github.com/M66B/FairEmail.git
Refactoring
This commit is contained in:
parent
861c6da4b9
commit
44416cfa20
|
@ -1313,7 +1313,7 @@ class Core {
|
|||
}
|
||||
}
|
||||
|
||||
db.folder().setFolderSync(folder.id, new Date().getTime());
|
||||
db.folder().setFolderLastSync(folder.id, new Date().getTime());
|
||||
db.folder().setFolderError(folder.id, null);
|
||||
|
||||
} finally {
|
||||
|
|
|
@ -282,7 +282,7 @@ public interface DaoFolder {
|
|||
int setFolderUidValidity(long id, Long uidv);
|
||||
|
||||
@Query("UPDATE folder SET last_sync = :last_sync WHERE id = :id")
|
||||
int setFolderSync(long id, long last_sync);
|
||||
int setFolderLastSync(long id, long last_sync);
|
||||
|
||||
@Query("UPDATE folder SET read_only = :read_only WHERE id = :id")
|
||||
int setFolderReadOnly(long id, boolean read_only);
|
||||
|
|
Loading…
Reference in New Issue