Show identity, folder and account color in widget

pull/182/head
M66B 4 years ago
parent e48be2ea7c
commit 499a79cd56

@ -498,7 +498,7 @@ public interface DaoMessage {
LiveData<List<TupleMessageWidgetCount>> liveWidgetUnified();
@Query("SELECT message.*" +
", account.name AS accountName, account.color AS accountColor" +
", account.name AS accountName, COALESCE(identity.color, folder.color, account.color) AS accountColor" +
", SUM(1 - message.ui_seen) AS unseen" +
", COUNT(message.id) - SUM(message.ui_flagged) AS unflagged" +
", MAX(message.received) AS dummy" +

Loading…
Cancel
Save