Skip to content

Commit 212c678

Browse files
Remove manual text color specification
1 parent 61bb81f commit 212c678

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

app/src/main/java/org/schabi/newpipe/ui/components/common/DropdownTextMenuItem.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package org.schabi.newpipe.ui.components.common
22

33
import androidx.annotation.StringRes
44
import androidx.compose.material3.DropdownMenuItem
5-
import androidx.compose.material3.MaterialTheme
65
import androidx.compose.material3.Text
76
import androidx.compose.runtime.Composable
87
import androidx.compose.ui.res.stringResource
@@ -13,9 +12,7 @@ fun DropdownTextMenuItem(
1312
onClick: () -> Unit
1413
) {
1514
DropdownMenuItem(
16-
text = {
17-
Text(text = stringResource(text), color = MaterialTheme.colorScheme.onBackground)
18-
},
15+
text = { Text(text = stringResource(text)) },
1916
onClick = onClick
2017
)
2118
}

0 commit comments

Comments
 (0)