mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Hide reply answer if no answers
This commit is contained in:
@@ -41,6 +41,10 @@ public interface DaoAnswer {
|
||||
" ORDER BY name COLLATE NOCASE")
|
||||
LiveData<List<EntityAnswer>> liveAnswers();
|
||||
|
||||
@Query("SELECT COUNT(*) FROM answer" +
|
||||
" WHERE NOT hide")
|
||||
LiveData<Integer> liveAnswerCount();
|
||||
|
||||
@Insert
|
||||
long insertAnswer(EntityAnswer answer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user