mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Show selected folders in navigation menu
This commit is contained in:
@@ -65,6 +65,9 @@ public interface DaoOperation {
|
||||
@Query(GET_OPS_FOLDER)
|
||||
LiveData<List<EntityOperation>> liveOperations(long folder);
|
||||
|
||||
@Query("SELECT COUNT(operation.id) FROM operation")
|
||||
LiveData<Integer> liveCount();
|
||||
|
||||
@Query("SELECT COUNT(operation.id) FROM operation" +
|
||||
" WHERE operation.name = '" + EntityOperation.SEND + "'")
|
||||
LiveData<Integer> liveUnsent();
|
||||
|
||||
Reference in New Issue
Block a user