Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarX committed Nov 19, 2024
1 parent e3f67d9 commit 1977c2e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,15 @@ private fun TotalSize(totalSizeInBytes: Long) {

Text(text = humanReadableTotalSize)
}

@PreviewLightAndDark
@Composable
private fun Preview() {
SwissTransferTheme {
Surface {
Progress(
progressState = { UploadWorker.UploadProgressUiState.Progress(73614L) },
totalSizeInBytes = 3279218L
progressState = { UploadWorker.UploadProgressUiState.Progress(73_614L) },
totalSizeInBytes = 3_279_218L
)
}
}
Expand Down

0 comments on commit 1977c2e

Please sign in to comment.