mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-07 19:14:12 +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,
|
||||
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()
|
||||
|
||||
/** Build determinate progress indicator. */
|
||||
|
Reference in New Issue
Block a user