aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-07-12 11:59:45 -0700
committerdaneren2005 <daneren2005@gmail.com>2013-07-12 11:59:45 -0700
commit3788bb15d41cd1fe6a35386b4a350aa3e411f78c (patch)
treeaca2f8c868c9899dc3c285e8f38868f3d575ac77 /subsonic-android/src
parentfd585a4ae94be0d6549d0309cb5ae77ed59dd0ae (diff)
downloaddsub-3788bb15d41cd1fe6a35386b4a350aa3e411f78c.tar.gz
dsub-3788bb15d41cd1fe6a35386b4a350aa3e411f78c.tar.bz2
dsub-3788bb15d41cd1fe6a35386b4a350aa3e411f78c.zip
Fix crash on trying to click on downloading channel
Diffstat (limited to 'subsonic-android/src')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java2
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());