Fix play next menu option logic
This commit is contained in:
parent
8de58513b3
commit
faadf3a4b9
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ abstract class BaseMusicAdapter<Type>(
|
||||||
|
|
||||||
val currentMedia = PlaybackService.currentMediaItem ?: return false
|
val currentMedia = PlaybackService.currentMediaItem ?: return false
|
||||||
val selectedTrack = getSelectedTracks().firstOrNull()
|
val selectedTrack = getSelectedTracks().firstOrNull()
|
||||||
return selectedTrack != null && isOneItemSelected() && currentMedia.isSameMedia(selectedTrack)
|
return selectedTrack != null && !currentMedia.isSameMedia(selectedTrack)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun shouldShowRename(): Boolean {
|
fun shouldShowRename(): Boolean {
|
||||||
|
|
Loading…
Reference in a new issue