Skip to content

Commit

Permalink
Clarify Progress comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarX committed Nov 19, 2024
1 parent 0a846cd commit 4744d02
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fun Progress(
}

/**
* Text style is provided through [LocalTextStyle] inside [Progress]
* Text style is provided through [LocalTextStyle] inside [Progress], thanks to [ProvideTextStyle].
*/
@Composable
private fun Percentage(uploadedSizeInBytes: () -> Long, totalSizeInBytes: Long) {
Expand All @@ -67,7 +67,7 @@ private fun Percentage(uploadedSizeInBytes: () -> Long, totalSizeInBytes: Long)
}

/**
* Text style is provided through [LocalTextStyle] inside [Progress]
* Text style is provided through [LocalTextStyle] inside [Progress], thanks to [ProvideTextStyle].
*/
@Composable
private fun UploadedSize(uploadedSizeInBytes: () -> Long) {
Expand All @@ -80,7 +80,7 @@ private fun UploadedSize(uploadedSizeInBytes: () -> Long) {
}

/**
* Text style is provided through [LocalTextStyle] inside [Progress]
* Text style is provided through [LocalTextStyle] inside [Progress], thanks to [ProvideTextStyle].
*/
@Composable
private fun TotalSize(totalSizeInBytes: Long) {
Expand Down

0 comments on commit 4744d02

Please sign in to comment.