mirror of
https://github.com/bitfireAT/davx5-ose
synced 2024-07-22 03:01:24 +00:00
Make LinearProgressIndicators orange (#636)
This commit is contained in:
parent
9742913a3e
commit
cb56132994
|
@ -88,7 +88,6 @@ import at.bitfire.davdroid.ui.widget.CardWithImage
|
|||
import at.bitfire.ical4android.TaskProvider
|
||||
import at.bitfire.ical4android.TaskProvider.ProviderName
|
||||
import at.techbee.jtx.JtxContract
|
||||
import com.google.accompanist.themeadapter.material.MdcTheme
|
||||
import dagger.assisted.Assisted
|
||||
import dagger.assisted.AssistedFactory
|
||||
import dagger.assisted.AssistedInject
|
||||
|
@ -233,9 +232,17 @@ class DebugInfoActivity : AppCompatActivity() {
|
|||
.fillMaxSize()
|
||||
.padding(paddingValues)
|
||||
) {
|
||||
if (debugInfo == null) item { LinearProgressIndicator() }
|
||||
if (debugInfo == null)
|
||||
item {
|
||||
LinearProgressIndicator(color = MaterialTheme.colors.secondary)
|
||||
}
|
||||
|
||||
if (debugInfo != null) {
|
||||
if (zipProgress) item { LinearProgressIndicator() }
|
||||
if (zipProgress)
|
||||
item {
|
||||
LinearProgressIndicator(color = MaterialTheme.colors.secondary)
|
||||
}
|
||||
|
||||
item {
|
||||
CardWithImage(
|
||||
image = painterResource(R.drawable.undraw_server_down),
|
||||
|
|
|
@ -200,7 +200,7 @@ class AddWebdavMountActivity : AppCompatActivity() {
|
|||
) {
|
||||
if (isLoading)
|
||||
LinearProgressIndicator(
|
||||
color = MaterialTheme.colors.primary,
|
||||
color = MaterialTheme.colors.secondary,
|
||||
modifier = Modifier.fillMaxWidth()
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue