From 3788bb15d41cd1fe6a35386b4a350aa3e411f78c Mon Sep 17 00:00:00 2001 From: daneren2005 Date: Fri, 12 Jul 2013 11:59:45 -0700 Subject: Fix crash on trying to click on downloading channel --- .../src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subsonic-android/src') 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()); -- cgit v1.2.3