You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.
When the chapter finishes and another one begins naturally, the app crushes because there is a division by 0 in the slider.
Solved by adding 1 millisecond to the denominator so it doesn't start with 0:
The text was updated successfully, but these errors were encountered:
costaalex
changed the title
Error on chapter finish
Error betthwn a chapter finish and the beggining of a new one
Mar 30, 2021
costaalex
changed the title
Error betthwn a chapter finish and the beggining of a new one
Error between a chapter finish and the beggining of a new one
Mar 30, 2021
When the chapter finishes and another one begins naturally, the app crushes because there is a division by 0 in the slider.
Solved by adding 1 millisecond to the denominator so it doesn't start with 0:
components/player.dart file, row 402:
value: position.inMilliseconds / duration.inMilliseconds,
changed to
value: position.inMilliseconds / (duration.inMilliseconds + 1),
The text was updated successfully, but these errors were encountered: