Added menu shortcut to folders of primary account

This commit is contained in:
M66B
2018-08-14 15:45:07 +00:00
parent 43fb46615e
commit 2ac5accc00
4 changed files with 68 additions and 1 deletions

View File

@@ -41,6 +41,9 @@ public interface DaoAccount {
@Query("SELECT * FROM account WHERE id = :id")
EntityAccount getAccount(long id);
@Query("SELECT * FROM account WHERE `primary`")
LiveData<EntityAccount> livePrimaryAccount();
@Query("SELECT * FROM account WHERE id = :id")
LiveData<EntityAccount> liveAccount(long id);