mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-16 22:39:34 +00:00
播放器重写的stream改名
This commit is contained in:
parent
05bc0cde74
commit
e44144b229
6 changed files with 14 additions and 13 deletions
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue