Browse Source

Fix color error.

Johennes-patch-1
Benoit Marty 2 years ago committed by Benoit Marty
parent
commit
e889856d1c
  1. 6
      libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/components/ProgressDialog.kt

6
libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/components/ProgressDialog.kt

@ -48,19 +48,19 @@ fun ProgressDialog( @@ -48,19 +48,19 @@ fun ProgressDialog(
modifier = modifier
.fillMaxWidth()
.background(
color = ElementTheme.colors.onBackground,
color = ElementTheme.colors.surfaceVariant,
shape = RoundedCornerShape(8.dp)
)
) {
Column(horizontalAlignment = Alignment.CenterHorizontally) {
CircularProgressIndicator(
modifier = Modifier.padding(16.dp),
color = ElementTheme.colors.background
color = ElementTheme.colors.onSurfaceVariant
)
if (!text.isNullOrBlank()) {
Text(
text = text,
color = ElementTheme.colors.background,
color = ElementTheme.colors.onSurfaceVariant,
modifier = Modifier.padding(16.dp)
)
}

Loading…
Cancel
Save