播放器重写的stream改名

This commit is contained in:
rang 2025-10-24 15:42:33 +08:00
parent 05bc0cde74
commit e44144b229
6 changed files with 14 additions and 13 deletions

View file

@ -24,7 +24,7 @@ BookExpanded? currentlyPlayingBook(Ref ref) {
@riverpod
BookChapter? currentPlayingChapter(Ref ref) {
final player = ref.watch(audiobookPlayerProvider);
player.slowPositionStream.listen((_) {
player.slowPositionStreamInBook.listen((_) {
ref.invalidateSelf();
});

View file

@ -26,7 +26,7 @@ final currentlyPlayingBookProvider =
// ignore: unused_element
typedef CurrentlyPlayingBookRef = AutoDisposeProviderRef<BookExpanded?>;
String _$currentPlayingChapterHash() =>
r'73db8b8a9058573bb0c68ec5d5f8aba9306f3d24';
r'4a64157089279c71279ccfdbcfc7b32543ecc88c';
/// provided the current chapter of the book being played
///