This commit is contained in:
nuclearfog 2020-06-09 16:43:33 +02:00
parent abba7e5f73
commit 93904f9a4d
No known key found for this signature in database
GPG Key ID: ED35E22099354A64
3 changed files with 6 additions and 3 deletions

View File

@ -105,7 +105,8 @@ public class MessageListLoader extends AsyncTask<Long, Long, List<Message>> {
callback.get().setRefresh(false);
if (messages != null) {
callback.get().setData(messages);
} else if (twException != null) {
}
if (twException != null) {
callback.get().onError(twException);
}
}

View File

@ -75,7 +75,8 @@ public class TrendListLoader extends AsyncTask<Integer, Void, List<TwitterTrend>
callback.get().setRefresh(false);
if (trends != null) {
callback.get().setData(trends);
} else if (twException != null) {
}
if (twException != null) {
callback.get().onError(twException);
}
}

View File

@ -188,7 +188,8 @@ public class TweetListLoader extends AsyncTask<Object, Void, List<Tweet>> {
callback.get().add(tweets);
else
callback.get().addTop(tweets);
} else if (twException != null) {
}
if (twException != null) {
callback.get().onError(twException);
}
}