mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-16 14:29:35 +00:00
iii
This commit is contained in:
parent
20a3b95edc
commit
4a7c592e41
9 changed files with 112 additions and 102 deletions
|
|
@ -23,10 +23,13 @@ class SkipStartEnd {
|
|||
player.chapterStream.listen((chapter) {
|
||||
if (chapter != null &&
|
||||
player.positionInChapter < Duration(seconds: 1)) {
|
||||
Future.microtask(
|
||||
() => throttlerStart
|
||||
.call(() => player.seekInBook(chapter.start + start)),
|
||||
);
|
||||
// player.pause();
|
||||
player.seekInBook(chapter.start + start);
|
||||
// player.play();
|
||||
// Future.microtask(
|
||||
// () => throttlerStart
|
||||
// .call(() => player.seekInBook(chapter.start + start)),
|
||||
// );
|
||||
}
|
||||
}),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue