Hide 'share' option in queue view (where we do not mCurrentSong options in the menu)
This commit is contained in:
1 parent
ec985b24df
commit
e95580acf9
1 file changed
+1
-1
@@ -328,7 +328,7 @@ public class SlidingPlaybackActivity extends PlaybackActivity
|
|||||||
return; // not initialized yet
|
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_visible = {MENU_HIDE_QUEUE, MENU_CLEAR_QUEUE, MENU_EMPTY_QUEUE, MENU_SAVE_QUEUE_AS_PLAYLIST};
|
||||||
final int[] slide_hidden = {MENU_SHOW_QUEUE, MENU_SORT, MENU_DELETE, MENU_ENQUEUE_ALBUM, MENU_ENQUEUE_ARTIST, MENU_ENQUEUE_GENRE, MENU_ADD_TO_PLAYLIST};
|
final int[] slide_hidden = {MENU_SHOW_QUEUE, MENU_SORT, MENU_DELETE, MENU_ENQUEUE_ALBUM, MENU_ENQUEUE_ARTIST, MENU_ENQUEUE_GENRE, MENU_ADD_TO_PLAYLIST, MENU_SHARE};
|
||||||
|
|
||||||
for (int id : slide_visible) {
|
for (int id : slide_visible) {
|
||||||
MenuItem item = mMenu.findItem(id);
|
MenuItem item = mMenu.findItem(id);
|
||||||
|
|||||||
Reference in new issue
Block a user