Skip to content

Commit

Permalink
fix(progressbars): add rounded corner to progress bars
Browse files Browse the repository at this point in the history
  • Loading branch information
FDELAHA24 committed Jun 30, 2023
1 parent 17f6945 commit c0f3c9a
Show file tree
Hide file tree
Showing 28 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ dependencies {
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21")
implementation("com.vanniktech:gradle-maven-publish-plugin:0.18.0")
implementation("app.cash.licensee:licensee-gradle-plugin:1.4.1")
implementation("app.cash.paparazzi:paparazzi-gradle-plugin:1.2.0")
implementation("app.cash.paparazzi:paparazzi-gradle-plugin:1.3.0")
}
6 changes: 3 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Jan 20 17:22:46 CET 2023
#Fri Jun 16 16:03:05 CEST 2023
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.unit.Dp
Expand Down Expand Up @@ -67,7 +68,8 @@ object VitaminProgressBars {
progress = progress,
modifier = Modifier.vitaminLinearProgressModifier(sizes.strokeSize),
color = colors.progressColor,
backgroundColor = colors.backgroundColor
backgroundColor = colors.backgroundColor,
strokeCap = StrokeCap.Round
)
}
}
Expand Down Expand Up @@ -100,7 +102,8 @@ object VitaminProgressBars {
LinearProgressIndicator(
modifier = Modifier.vitaminLinearProgressModifier(sizes.strokeSize),
color = colors.progressColor,
backgroundColor = colors.backgroundColor
backgroundColor = colors.backgroundColor,
strokeCap = StrokeCap.Round
)
}
}
Expand Down Expand Up @@ -140,7 +143,8 @@ object VitaminProgressBars {
.align(Alignment.Center)
.size(sizes.boxSize),
color = colors.progressColor,
strokeWidth = sizes.strokeSize
strokeWidth = sizes.strokeSize,
strokeCap = StrokeCap.Round
)
}
}
Expand Down Expand Up @@ -176,7 +180,8 @@ object VitaminProgressBars {
.align(Alignment.Center)
.size(sizes.boxSize),
color = colors.progressColor,
strokeWidth = sizes.strokeSize
strokeWidth = sizes.strokeSize,
strokeCap = StrokeCap.Round
)
}
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion versions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ version.androidx.compose.ui=1.3.3
## # available=1.5.0-alpha03
## # available=1.5.0-alpha04

version.androidx.compose.material=1.3.1
version.androidx.compose.material=1.4.0
## # available=1.4.0-alpha01
## # available=1.4.0-alpha02
## # available=1.4.0-alpha03
Expand Down

0 comments on commit c0f3c9a

Please sign in to comment.