mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 08:32:16 +01:00
Fixed widget update in some circumstances
This commit is contained in:
@@ -332,13 +332,15 @@ public interface DaoMessage {
|
||||
" ORDER BY message.received")
|
||||
LiveData<List<TupleMessageEx>> liveUnseenNotify();
|
||||
|
||||
@Query("SELECT COUNT(*) AS total" +
|
||||
@Query("SELECT folder, COUNT(*) AS total" +
|
||||
", SUM(ui_seen) AS seen" +
|
||||
", SUM(ui_flagged) AS flagged" +
|
||||
" FROM message" +
|
||||
" WHERE NOT ui_hide" +
|
||||
" AND message.ui_snoozed IS NULL")
|
||||
LiveData<TupleMessageWidgetCount> liveWidgetUnified();
|
||||
" AND message.ui_snoozed IS NULL" +
|
||||
" GROUP BY folder" +
|
||||
" ORDER BY folder")
|
||||
LiveData<List<TupleMessageWidgetCount>> liveWidgetUnified();
|
||||
|
||||
@Query("SELECT message.*" +
|
||||
", account.name AS accountName" +
|
||||
|
||||
Reference in New Issue
Block a user