mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-24 11:57:38 +00:00
Fix tab text color
This commit is contained in:
@@ -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 }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user