Using the same color for ProgressIndicator as for dialog buttons
This commit is contained in:
parent
abfe92a19b
commit
e292b24eca
|
@ -61,7 +61,7 @@ fun BaseDialog(
|
||||||
) {
|
) {
|
||||||
Row(Modifier.fillMaxWidth(), verticalAlignment = Alignment.CenterVertically) {
|
Row(Modifier.fillMaxWidth(), verticalAlignment = Alignment.CenterVertically) {
|
||||||
if (showProgressIndicatorOnConfirmButton) {
|
if (showProgressIndicatorOnConfirmButton) {
|
||||||
CircularProgressIndicator(Modifier.padding(end = 6.dp))
|
CircularProgressIndicator(Modifier.padding(end = 6.dp), color = Colors.CodinuxSecondaryColor)
|
||||||
}
|
}
|
||||||
|
|
||||||
Text(confirmButtonTitle, color = Colors.CodinuxSecondaryColor, textAlign = TextAlign.Center, modifier = Modifier.fillMaxWidth())
|
Text(confirmButtonTitle, color = Colors.CodinuxSecondaryColor, textAlign = TextAlign.Center, modifier = Modifier.fillMaxWidth())
|
||||||
|
|
Loading…
Reference in New Issue