Skip to content

Commit

Permalink
Fix notification back button restarting song (closes #398)
Browse files Browse the repository at this point in the history
  • Loading branch information
toasterofbread committed Nov 12, 2024
1 parent 36debac commit c30cabd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ class PlayerSessionCallback(
}

override fun onSkipToNext() {
player.seekToNext()
player.seekToPreviousMediaItem()
}

override fun onSkipToPrevious() {
player.seekToPrevious()
player.seekToPreviousMediaItem()
}

override fun onPlay() {
Expand Down

0 comments on commit c30cabd

Please sign in to comment.