Skip to content

Commit d06244f

Browse files
Revert toolbar colors as it is handled in #12654
1 parent 043a64d commit d06244f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

app/src/main/java/org/schabi/newpipe/ui/Toolbar.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import androidx.compose.material3.SearchBar
2121
import androidx.compose.material3.SearchBarDefaults
2222
import androidx.compose.material3.Text
2323
import androidx.compose.material3.TopAppBar
24-
import androidx.compose.material3.TopAppBarDefaults
2524
import androidx.compose.runtime.Composable
2625
import androidx.compose.runtime.getValue
2726
import androidx.compose.runtime.mutableStateOf
@@ -82,10 +81,6 @@ fun Toolbar(
8281
TopAppBar(
8382
title = { Text(text = title) },
8483
modifier = modifier,
85-
colors = TopAppBarDefaults.topAppBarColors(
86-
containerColor = MaterialTheme.colorScheme.primary,
87-
titleContentColor = MaterialTheme.colorScheme.onPrimary,
88-
),
8984
navigationIcon = {
9085
onNavigateBack?.let { NavigationIcon(onNavigateBack) }
9186
},

0 commit comments

Comments
 (0)