Default primary when no primary account yet

This commit is contained in:
M66B
2018-12-10 08:48:05 +01:00
parent fe69b29484
commit 1aeeebc698
2 changed files with 14 additions and 18 deletions

View File

@@ -47,9 +47,6 @@ public interface DaoAccount {
@Query("SELECT * FROM account WHERE `primary`")
EntityAccount getPrimaryAccount();
@Query("SELECT COUNT(*) FROM account WHERE synchronize")
int getSynchronizingAccountCount();
@Query("SELECT * FROM account WHERE `primary`")
LiveData<EntityAccount> livePrimaryAccount();