mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-17 06:49:34 +00:00
修复章节列表滚动 在windows平台报错
This commit is contained in:
parent
620a1eb7a2
commit
05bc0cde74
7 changed files with 32 additions and 12 deletions
|
|
@ -22,9 +22,9 @@ class AudiobookPlayerSeekButton extends HookConsumerWidget {
|
|||
),
|
||||
onPressed: () {
|
||||
if (isForward) {
|
||||
player.seek(player.positionInBook + const Duration(seconds: 30));
|
||||
player.seek(player.position + const Duration(seconds: 30));
|
||||
} else {
|
||||
player.seek(player.positionInBook - const Duration(seconds: 30));
|
||||
player.seek(player.position - const Duration(seconds: 30));
|
||||
}
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue