Fix play next menu option logic

This commit is contained in:
Naveen 2023-08-20 15:04:47 +05:30
parent 8de58513b3
commit faadf3a4b9
No known key found for this signature in database
GPG key ID: 0E155DAD31671DA3

View file

@ -64,7 +64,7 @@ abstract class BaseMusicAdapter<Type>(
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 {