mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
fix missing error toast on failed social calls
This commit is contained in:
parent
69991e711d
commit
f4fa93572c
1 changed files with 4 additions and 4 deletions
|
@ -485,22 +485,22 @@ public class ReadingAction implements Serializable {
|
|||
}
|
||||
|
||||
if (storiesResponse != null) {
|
||||
result = storiesResponse;
|
||||
if (storiesResponse.story != null) {
|
||||
result = storiesResponse;
|
||||
dbHelper.updateStory(storiesResponse, true);
|
||||
impact |= NbActivity.UPDATE_SOCIAL;
|
||||
} else {
|
||||
com.newsblur.util.Log.w(this, "failed to refresh story data after action");
|
||||
}
|
||||
impact |= NbActivity.UPDATE_SOCIAL;
|
||||
}
|
||||
if (commentResponse != null) {
|
||||
result = commentResponse;
|
||||
if (commentResponse.comment != null) {
|
||||
result = commentResponse;
|
||||
dbHelper.updateComment(commentResponse, storyId);
|
||||
impact |= NbActivity.UPDATE_SOCIAL;
|
||||
} else {
|
||||
com.newsblur.util.Log.w(this, "failed to refresh comment data after action");
|
||||
}
|
||||
impact |= NbActivity.UPDATE_SOCIAL;
|
||||
}
|
||||
|
||||
NbActivity.updateAllActivities(impact);
|
||||
|
|
Loading…
Add table
Reference in a new issue