mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Save fragment instance states
This commit is contained in:
@@ -95,8 +95,11 @@ public interface DaoFolder {
|
||||
@Query("UPDATE folder SET type = :type WHERE id = :id")
|
||||
int setFolderType(long id, String type);
|
||||
|
||||
@Query("UPDATE folder SET type = '" + EntityFolder.USER + "' WHERE type = :type")
|
||||
int setFolderUser(String type);
|
||||
@Query("UPDATE folder" +
|
||||
" SET type = '" + EntityFolder.USER + "'" +
|
||||
" WHERE account = :account" +
|
||||
" AND type = :type")
|
||||
int setFolderUser(long account, String type);
|
||||
|
||||
@Query("UPDATE folder SET synchronize = :synchronize, after = :after WHERE id = :id")
|
||||
int setFolderProperties(long id, boolean synchronize, int after);
|
||||
|
||||
Reference in New Issue
Block a user