fix(accessibility): address review feedback

This commit is contained in:
Storm Dragon 2026-02-27 21:05:05 -05:00
parent b552e9843c
commit 53f58aeb8b
3 changed files with 22 additions and 3 deletions

View file

@ -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,
);
},
),