Skip to content

Commit

Permalink
Betterer code
Browse files Browse the repository at this point in the history
  • Loading branch information
jsixface committed Aug 18, 2024
1 parent b5c58e3 commit 50ced36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composeApp/src/commonMain/kotlin/ui/JobsScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ object JobsScreen : Screen {
when (job.status) {
Starting -> LinearProgressIndicator(modifier = progressPadding)
InProgress -> LinearProgressIndicator(
progress = job.progress / 100.0f,
modifier = progressPadding
progress = { job.progress / 100.0f },
modifier = progressPadding,
)

Completed -> Text(
Expand Down

0 comments on commit 50ced36

Please sign in to comment.