Set lastModified to the current account object, otherwise the sync mode will always be the initial one

This commit is contained in:
Shinokuni 2019-05-18 16:17:20 +02:00
parent 60797cf76c
commit 432726defa
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ public class NextNewsRepository extends ARepository {
timings.addSplit("insert items");
timings.dumpToLog();
account.setLastModified(lastModified);
database.accountDao().updateLastModified(account.getId(), lastModified);
database.itemDao().resetReadChanges();