diff options
author | daneren2005 <daneren2005@gmail.com> | 2013-07-12 11:59:45 -0700 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2013-07-12 11:59:45 -0700 |
commit | 3788bb15d41cd1fe6a35386b4a350aa3e411f78c (patch) | |
tree | aca2f8c868c9899dc3c285e8f38868f3d575ac77 | |
parent | fd585a4ae94be0d6549d0309cb5ae77ed59dd0ae (diff) | |
download | dsub-3788bb15d41cd1fe6a35386b4a350aa3e411f78c.tar.gz dsub-3788bb15d41cd1fe6a35386b4a350aa3e411f78c.tar.bz2 dsub-3788bb15d41cd1fe6a35386b4a350aa3e411f78c.zip |
Fix crash on trying to click on downloading channel
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java index 764ee49d..6936096c 100644 --- a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java +++ b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java @@ -176,7 +176,7 @@ public class SelectPodcastsFragment extends SubsonicFragment implements AdapterV if("error".equals(channel.getStatus())) {
Util.toast(context, context.getResources().getString(R.string.select_podcasts_invalid_podcast_channel, channel.getErrorMessage() == null ? "error" : channel.getErrorMessage()));
- } else {
+ } else if(!"downloading".equals(channel.getStatus())) {
SubsonicFragment fragment = new SelectDirectoryFragment();
Bundle args = new Bundle();
args.putString(Constants.INTENT_EXTRA_NAME_PODCAST_ID, channel.getId());
|