fix #178, show the Toggle Autoplay menu button at third party intents too

This commit is contained in:
tibbi 2018-10-12 20:55:43 +02:00
parent e90e179809
commit 9a336bfabc

View file

@ -189,7 +189,6 @@ class MainActivity : SimpleActivity(), SongListListener {
menu.apply { menu.apply {
findItem(R.id.sort).isVisible = !isThirdPartyIntent findItem(R.id.sort).isVisible = !isThirdPartyIntent
findItem(R.id.toggle_autoplay).isVisible = !isThirdPartyIntent
findItem(R.id.sort).isVisible = !isThirdPartyIntent findItem(R.id.sort).isVisible = !isThirdPartyIntent
findItem(R.id.open_playlist).isVisible = !isThirdPartyIntent findItem(R.id.open_playlist).isVisible = !isThirdPartyIntent
findItem(R.id.add_folder_to_playlist).isVisible = !isThirdPartyIntent findItem(R.id.add_folder_to_playlist).isVisible = !isThirdPartyIntent