mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-03 05:50:32 +00:00
Fix tab text color
This commit is contained in:
parent
6e6c171dd7
commit
7a7f81ac7f
@ -24,6 +24,7 @@ import androidx.compose.runtime.mutableIntStateOf
|
||||
import androidx.compose.runtime.saveable.rememberSaveable
|
||||
import androidx.compose.runtime.setValue
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.graphics.Color
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
import androidx.compose.ui.unit.dp
|
||||
@ -50,7 +51,7 @@ fun AboutScreen(padding: PaddingValues) {
|
||||
TabRow(selectedTabIndex = tabIndex) {
|
||||
TITLES.forEachIndexed { index, titleId ->
|
||||
Tab(
|
||||
text = { Text(text = stringResource(titleId)) },
|
||||
text = { Text(text = stringResource(titleId), color = Color.White) },
|
||||
selected = tabIndex == index,
|
||||
onClick = { tabIndex = index }
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user