Skip to content

Commit

Permalink
chore: Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Nov 22, 2024
1 parent 6558740 commit 84cf07d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ package com.infomaniak.multiplatform_swisstransfer.common.ext

import java.util.Date

fun Long.toDateFromSeconds() = Date(this * 1000)
fun Long.toDateFromSeconds() = Date(this * 1_000L)
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ interface File {
val path: String?
val thumbnailPath: String?
}

0 comments on commit 84cf07d

Please sign in to comment.