mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-01-30 19:05:02 +01:00
bug fix
This commit is contained in:
parent
abba7e5f73
commit
93904f9a4d
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user