mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-06 12:54:11 +01:00
Only use account color for unified widget
This commit is contained in:
@@ -459,8 +459,7 @@ public interface DaoMessage {
|
||||
LiveData<List<TupleMessageWidgetCount>> liveWidgetUnified();
|
||||
|
||||
@Query("SELECT message.*" +
|
||||
", account.name AS accountName" +
|
||||
", COALESCE(identity.color, folder.color, account.color) AS accountColor" +
|
||||
", account.name AS accountName, 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" +
|
||||
|
||||
Reference in New Issue
Block a user