aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-07-11 16:38:03 -0700
committerdaneren2005 <daneren2005@gmail.com>2013-07-11 16:38:03 -0700
commit3529619dbf8f2eb6b3c3baee38914dbab5f5ee19 (patch)
tree0eb8bc5c57bcc3d71353dc476127e11493186d1b /subsonic-android/src/github/daneren2005
parent53343ee34b91a679f774a9ea5d6dcf8e1fab8ead (diff)
downloaddsub-3529619dbf8f2eb6b3c3baee38914dbab5f5ee19.tar.gz
dsub-3529619dbf8f2eb6b3c3baee38914dbab5f5ee19.tar.bz2
dsub-3529619dbf8f2eb6b3c3baee38914dbab5f5ee19.zip
Fix remove from showing up on normal song menus
Diffstat (limited to 'subsonic-android/src/github/daneren2005')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
index 9d34011e..c3771492 100644
--- a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
+++ b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
@@ -221,7 +221,7 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
MusicDirectory.Entry entry = (MusicDirectory.Entry) entryList.getItemAtPosition(info.position);
onCreateContextMenu(menu, view, menuInfo, entry);
- if(!entry.isVideo() && !Util.isOffline(context) && playlistId == null && (podcastId != null || Util.isOffline(context) && podcastId == null)) {
+ if(!entry.isVideo() && !Util.isOffline(context) && playlistId == null && (podcastId == null || Util.isOffline(context) && podcastId != null)) {
menu.removeItem(R.id.song_menu_remove_playlist);
}
if(podcastId != null && !Util.isOffline(context)) {