Added long press to set account/identity primary

This commit is contained in:
M66B
2020-03-27 08:01:31 +01:00
parent d853e30953
commit 7ae261e20a
5 changed files with 96 additions and 5 deletions

View File

@@ -122,6 +122,9 @@ public interface DaoAccount {
@Query("UPDATE account SET synchronize = :synchronize WHERE id = :id")
int setAccountSynchronize(long id, boolean synchronize);
@Query("UPDATE account SET `primary` = :primary WHERE id = :id")
int setAccountPrimary(long id, boolean primary);
@Query("UPDATE account SET thread = :thread WHERE id = :id")
int setAccountThread(long id, Long thread);