Skip to content

Commit

Permalink
Fix unit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Aug 12, 2024
1 parent 739e8b6 commit 7465df6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

/**
Expand Down

0 comments on commit 7465df6

Please sign in to comment.