File tree Expand file tree Collapse file tree
java/org/schabi/newpipe/player Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ public boolean onOptionsItemSelected(MenuItem item) {
164164 case R .id .action_append_playlist :
165165 appendAllToPlaylist ();
166166 return true ;
167+ case R .id .action_mute :
168+ player .onMuteUnmuteButtonClicked ();
169+ return true ;
167170 case R .id .action_system_audio :
168171 startActivity (new Intent (Settings .ACTION_SOUND_SETTINGS ));
169172 return true ;
Original file line number Diff line number Diff line change 1010 android : visible =" true"
1111 app : showAsAction =" ifRoom" />
1212
13+ <item
14+ android : id =" @+id/action_mute"
15+ android : icon =" ?attr/volume_off"
16+ android : title =" @string/mute"
17+ android : visible =" true"
18+ app : showAsAction =" ifRoom" />
19+
1320 <item android : id =" @+id/action_settings"
1421 android : orderInCategory =" 1"
1522 android : title =" @string/settings"
Original file line number Diff line number Diff line change 448448 <string name =" rename_playlist" >Rename</string >
449449 <string name =" playlist_name_input" >Name</string >
450450 <string name =" append_playlist" >Add To Playlist</string >
451+ <string name =" mute" >Mute</string >
451452 <string name =" set_as_playlist_thumbnail" >Set as Playlist Thumbnail</string >
452453 <string name =" bookmark_playlist" >Bookmark Playlist</string >
453454 <string name =" unbookmark_playlist" >Remove Bookmark</string >
You can’t perform that action at this time.
0 commit comments