mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-05-23 07:32:18 +00:00
by extracting the helper methods `_seekTo()` and `_seekBy()`. This also fixes a potential bug, where in line 1634 it was calculated `skipDuration - _currentPosition.value.inSeconds` instead of the other way around. That doesn't make sense. If currentPosition = 120 and skipDuration = 10, this becomes: `_tempPosition = Duration(seconds: 10 - 120)`; so `= Duration(seconds: -110)` A negative duration makes no sense as a UI indicator of a seek target. |
||
|---|---|---|
| .. | ||
| eval | ||
| ffi | ||
| l10n | ||
| models | ||
| modules | ||
| providers | ||
| router | ||
| services | ||
| src/rust | ||
| utils | ||
| main.dart | ||