We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61bb81f commit 212c678Copy full SHA for 212c678
1 file changed
app/src/main/java/org/schabi/newpipe/ui/components/common/DropdownTextMenuItem.kt
@@ -2,7 +2,6 @@ package org.schabi.newpipe.ui.components.common
2
3
import androidx.annotation.StringRes
4
import androidx.compose.material3.DropdownMenuItem
5
-import androidx.compose.material3.MaterialTheme
6
import androidx.compose.material3.Text
7
import androidx.compose.runtime.Composable
8
import androidx.compose.ui.res.stringResource
@@ -13,9 +12,7 @@ fun DropdownTextMenuItem(
13
12
onClick: () -> Unit
14
) {
15
DropdownMenuItem(
16
- text = {
17
- Text(text = stringResource(text), color = MaterialTheme.colorScheme.onBackground)
18
- },
+ text = { Text(text = stringResource(text)) },
19
onClick = onClick
20
)
21
}
0 commit comments