mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-04-05 13:59:37 +00:00
fix(accessibility): address review feedback
This commit is contained in:
parent
b552e9843c
commit
53f58aeb8b
3 changed files with 22 additions and 3 deletions
|
|
@ -123,7 +123,9 @@ class PlayerWhenMinimized extends HookConsumerWidget {
|
|||
),
|
||||
onPressed: () {
|
||||
player.seek(
|
||||
player.positionInBook - const Duration(seconds: 30),
|
||||
player.positionInBook > const Duration(seconds: 30)
|
||||
? player.positionInBook - const Duration(seconds: 30)
|
||||
: Duration.zero,
|
||||
);
|
||||
},
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue