diff --git a/pillarbox-demo-shared/src/main/java/ch/srgssr/pillarbox/demo/shared/ui/player/metrics/StatsForNerdsViewModel.kt b/pillarbox-demo-shared/src/main/java/ch/srgssr/pillarbox/demo/shared/ui/player/metrics/StatsForNerdsViewModel.kt index 7071e889a..555485497 100644 --- a/pillarbox-demo-shared/src/main/java/ch/srgssr/pillarbox/demo/shared/ui/player/metrics/StatsForNerdsViewModel.kt +++ b/pillarbox-demo-shared/src/main/java/ch/srgssr/pillarbox/demo/shared/ui/player/metrics/StatsForNerdsViewModel.kt @@ -197,7 +197,7 @@ class StatsForNerdsViewModel(application: Application) : AndroidViewModel(applic } companion object { - private const val TO_MEGA = 1_000_000f + private const val TO_MEGA = 1024f * 1024f private const val TO_NEXT_UNIT = 1_000f /**