From 26ab64b7fa77ff7cbe4df946b3f4c7d1b4dbe9cc Mon Sep 17 00:00:00 2001 From: Naveen Date: Tue, 5 Sep 2023 20:10:56 +0530 Subject: [PATCH] Disable rename option at albums --- .../musicplayer/adapters/AlbumsTracksAdapter.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/musicplayer/adapters/AlbumsTracksAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/musicplayer/adapters/AlbumsTracksAdapter.kt index e68afbc3..3707214e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/musicplayer/adapters/AlbumsTracksAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/musicplayer/adapters/AlbumsTracksAdapter.kt @@ -72,6 +72,7 @@ class AlbumsTracksAdapter( override fun prepareActionMode(menu: Menu) { menu.apply { findItem(R.id.cab_play_next).isVisible = shouldShowPlayNext() + findItem(R.id.cab_rename).isVisible = shouldShowRename() } }