mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Option to show messages, folders and accounts on startup
This commit is contained in:
@@ -38,8 +38,9 @@ public interface DaoAccount {
|
||||
@Query("SELECT * FROM account WHERE tbd = 1")
|
||||
List<EntityAccount> getAccountsTbd();
|
||||
|
||||
@Query("SELECT * FROM account")
|
||||
LiveData<List<EntityAccount>> liveAccounts();
|
||||
@Query("SELECT * FROM account" +
|
||||
" WHERE :all OR account.synchronize")
|
||||
LiveData<List<EntityAccount>> liveAccounts(boolean all);
|
||||
|
||||
@Query("SELECT * FROM account WHERE synchronize")
|
||||
LiveData<List<EntityAccount>> liveSynchronizingAccounts();
|
||||
|
||||
Reference in New Issue
Block a user