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

@@ -85,6 +85,9 @@ public interface DaoIdentity {
@Query("UPDATE identity SET synchronize = :synchronize WHERE id = :id")
int setIdentitySynchronize(long id, boolean synchronize);
@Query("UPDATE identity SET `primary` = :primary WHERE id = :id")
int setIdentityPrimary(long id, boolean primary);
@Query("UPDATE identity SET state = :state WHERE id = :id")
int setIdentityState(long id, String state);