mirror of https://github.com/readrops/Readrops.git
Insert starred items when synchronizing with a Nextcloud News account
This commit is contained in:
parent
23fd22afff
commit
f097edddbc
|
@ -67,7 +67,9 @@ class NextcloudNewsRepository(
|
|||
insertFolders(folders)
|
||||
newFeedIds = insertFeeds(feeds)
|
||||
|
||||
insertItems(items, syncType == SyncType.INITIAL_SYNC)
|
||||
val initialSync = syncType == SyncType.INITIAL_SYNC
|
||||
insertItems(items, initialSync)
|
||||
insertItems(starredItems, initialSync)
|
||||
|
||||
account.lastModified = newLastModified
|
||||
database.newAccountDao().updateLastModified(newLastModified, account.id)
|
||||
|
|
Loading…
Reference in New Issue