hide menue entries affecting the current song

This commit is contained in:
Adrian Ulrich 2016-03-31 20:13:46 +02:00
parent 7271b14c34
commit 031b35f69e

View File

@ -440,7 +440,7 @@ public abstract class PlaybackActivity extends Activity
return; // not initialized yet
final int[] slide_visible = {MENU_HIDE_QUEUE, MENU_CLEAR_QUEUE, MENU_EMPTY_QUEUE, MENU_SAVE_QUEUE_AS_PLAYLIST};
final int[] slide_hidden = {MENU_SHOW_QUEUE, MENU_SORT};
final int[] slide_hidden = {MENU_SHOW_QUEUE, MENU_SORT, MENU_DELETE, MENU_ENQUEUE_ALBUM, MENU_ENQUEUE_ARTIST, MENU_ENQUEUE_GENRE};
for (int id : slide_visible) {
MenuItem item = mMenu.findItem(id);