Fix small bug with cache duration calculation
This commit is contained in:
parent
6b82280c14
commit
ee41dda65a
@ -74,7 +74,7 @@ class PlayerUIBottomBar extends StatelessWidget {
|
|||||||
1000 *
|
1000 *
|
||||||
99.999)
|
99.999)
|
||||||
: 0.0;
|
: 0.0;
|
||||||
if (cachedPercent > 100) {
|
if (0 < cachedPercent || cachedPercent > 100) {
|
||||||
cachedPercent = 0;
|
cachedPercent = 0;
|
||||||
}
|
}
|
||||||
return Flex(
|
return Flex(
|
||||||
|
Loading…
Reference in New Issue
Block a user