Fix small bug with cache duration calculation

This commit is contained in:
2024-12-19 12:24:44 +01:00
parent 6b82280c14
commit ee41dda65a

View File

@@ -74,7 +74,7 @@ class PlayerUIBottomBar extends StatelessWidget {
1000 *
99.999)
: 0.0;
if (cachedPercent > 100) {
if (0 < cachedPercent || cachedPercent > 100) {
cachedPercent = 0;
}
return Flex(