mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-08 03:24:20 +08:00
fix: wrong linear progress indicator background color in ProgressIndicator
This commit is contained in:
@@ -277,7 +277,7 @@ fun LinearProgressIndicator(
|
|||||||
colors: ProgressIndicatorColors? = null,
|
colors: ProgressIndicatorColors? = null,
|
||||||
style: LinearIndicatorStyle? = null
|
style: LinearIndicatorStyle? = null
|
||||||
) {
|
) {
|
||||||
val currentColors = colors ?: LocalProgressIndicatorColors.current ?: CircularIndicatorDefaults.colors()
|
val currentColors = colors ?: LocalProgressIndicatorColors.current ?: LinearIndicatorDefaults.colors()
|
||||||
val currentStyle = style ?: LocalProgressIndicatorStyle.current as? LinearIndicatorStyle? ?: LinearIndicatorDefaults.style()
|
val currentStyle = style ?: LocalProgressIndicatorStyle.current as? LinearIndicatorStyle? ?: LinearIndicatorDefaults.style()
|
||||||
|
|
||||||
/** Build determinate progress indicator. */
|
/** Build determinate progress indicator. */
|
||||||
|
Reference in New Issue
Block a user