From faadf3a4b9283cfd6c943d736d58ce75ec902c7a Mon Sep 17 00:00:00 2001 From: Naveen Date: Sun, 20 Aug 2023 15:04:47 +0530 Subject: [PATCH] Fix play next menu option logic --- .../simplemobiletools/musicplayer/adapters/BaseMusicAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/musicplayer/adapters/BaseMusicAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/musicplayer/adapters/BaseMusicAdapter.kt index 0ee039af..c2ab82a1 100644 --- a/app/src/main/kotlin/com/simplemobiletools/musicplayer/adapters/BaseMusicAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/musicplayer/adapters/BaseMusicAdapter.kt @@ -64,7 +64,7 @@ abstract class BaseMusicAdapter( val currentMedia = PlaybackService.currentMediaItem ?: return false val selectedTrack = getSelectedTracks().firstOrNull() - return selectedTrack != null && isOneItemSelected() && currentMedia.isSameMedia(selectedTrack) + return selectedTrack != null && !currentMedia.isSameMedia(selectedTrack) } fun shouldShowRename(): Boolean {