mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fix load loop on social reading when API returns last page.
This commit is contained in:
parent
dac141633f
commit
8daca86241
1 changed files with 6 additions and 3 deletions
|
@ -370,9 +370,12 @@ public class APIManager {
|
|||
}
|
||||
}
|
||||
|
||||
for (Feed feed : socialFeedResponse.feeds) {
|
||||
contentResolver.insert(FeedProvider.FEEDS_URI, feed.getValues());
|
||||
}
|
||||
if (socialFeedResponse.feeds != null) {
|
||||
for (Feed feed : socialFeedResponse.feeds) {
|
||||
contentResolver.insert(FeedProvider.FEEDS_URI, feed.getValues());
|
||||
}
|
||||
}
|
||||
|
||||
return socialFeedResponse;
|
||||
} else {
|
||||
return null;
|
||||
|
|
Loading…
Add table
Reference in a new issue