Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#230: remove loading screen after errors for DownloadCommentsTask

  • Loading branch information...
commit 4e8a83a24c7c1df6f7a9e6b00e7128dc05aa7179 1 parent b68adae
@talklittle authored
View
4 src/com/andrewshu/android/reddit/comments/DownloadCommentsTask.java
@@ -532,8 +532,10 @@ else if (!mDeferredReplacementList.isEmpty()) {
if (mThreadTitle != null)
mActivity.setTitle(mThreadTitle + " : " + mSubreddit);
} else {
- if (!isCancelled())
+ if (!isCancelled()) {
Common.showErrorToast("Error downloading comments. Please try again.", Toast.LENGTH_LONG, mActivity);
+ mActivity.resetUI(null);
+ }
}
synchronized (mCurrentDownloadCommentsTaskLock) {
Please sign in to comment.
Something went wrong with that request. Please try again.