Fix typo in comment.
This commit is contained in:
parent
5b4069d9f4
commit
4297cfac24
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class AndroidFileSizeFormatter @Inject constructor(
|
|||
@ApplicationContext private val context: Context,
|
||||
) : FileSizeFormatter {
|
||||
override fun format(fileSize: Long, useShortFormat: Boolean): String {
|
||||
// Since Android O, the system considers that 1ko = 1000 bytes instead of 1024 bytes.
|
||||
// Since Android O, the system considers that 1kB = 1000 bytes instead of 1024 bytes.
|
||||
// We want to avoid that.
|
||||
val normalizedSize = if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.N) {
|
||||
fileSize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue