Created
December 4, 2022 01:14
-
-
Save fvilarino/62d07ba3a05267e0bc993721c41b661a to your computer and use it in GitHub Desktop.
Segmented Progress - Local density
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val gap: Float | |
val barHeight: Float | |
with(LocalDensity.current) { | |
gap = segmentGap.toPx() | |
barHeight = progressHeight.toPx() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment