Refactoring

This commit is contained in:
M66B
2018-08-09 07:02:41 +00:00
parent 7ea6ba1762
commit 659900f6d7
11 changed files with 64 additions and 64 deletions

View File

@@ -56,7 +56,7 @@ public interface DaoAccount {
" JOIN folder ON folder.id = message.folder" +
" WHERE NOT message.ui_seen AND NOT message.ui_hide" +
" AND (account.seen_until IS NULL OR message.received > account.seen_until)" +
" AND folder.type = '" + EntityFolder.TYPE_INBOX + "') AS unseen")
" AND folder.type = '" + EntityFolder.INBOX + "') AS unseen")
LiveData<TupleAccountStats> liveStats();
@Insert(onConflict = OnConflictStrategy.REPLACE)