Skip to content

Commit c67723e

Browse files
committed
fix next/prev stram buttons not updating on playlist rearange
1 parent 7816091 commit c67723e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

new-player/src/main/java/net/newpipe/newplayer/uiModel/NewPlayerViewModelImpl.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ class NewPlayerViewModelImpl @Inject constructor(
225225
mutableUiState.update {
226226
it.copy(
227227
playList = playlist,
228+
currentPlaylistItemIndex = newPlayer.currentlyPlayingPlaylistItem
228229
)
229230
}
230231
}

0 commit comments

Comments
 (0)