Disable rename option at albums

This commit is contained in:
Naveen 2023-09-05 20:10:56 +05:30
parent 7eddd47038
commit 26ab64b7fa
No known key found for this signature in database
GPG key ID: 0E155DAD31671DA3

View file

@ -72,6 +72,7 @@ class AlbumsTracksAdapter(
override fun prepareActionMode(menu: Menu) { override fun prepareActionMode(menu: Menu) {
menu.apply { menu.apply {
findItem(R.id.cab_play_next).isVisible = shouldShowPlayNext() findItem(R.id.cab_play_next).isVisible = shouldShowPlayNext()
findItem(R.id.cab_rename).isVisible = shouldShowRename()
} }
} }