mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-16 22:39:34 +00:00
注释未使用包
This commit is contained in:
parent
50a27fdf67
commit
20a3b95edc
48 changed files with 637 additions and 1472 deletions
|
|
@ -12,7 +12,7 @@ class AudiobookChapterProgressBar extends HookConsumerWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
final player = ref.watch(absAudioPlayerProvider);
|
||||
final player = ref.watch(audioPlayerProvider);
|
||||
final currentChapter = ref.watch(currentChapterProvider);
|
||||
final position = useStream(
|
||||
player.positionInBookStream,
|
||||
|
|
@ -63,7 +63,7 @@ class AudiobookProgressBar extends HookConsumerWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
final player = ref.read(absAudioPlayerProvider);
|
||||
final player = ref.read(audioPlayerProvider);
|
||||
final position = useStream(
|
||||
player.positionInBookStream,
|
||||
initialData: const Duration(seconds: 0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue