File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/ui/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ fun AboutTab() {
7373 Column (
7474 modifier = Modifier
7575 .fillMaxWidth()
76- .padding(horizontal = 20 .dp, vertical = 10 .dp)
76+ .padding(16 .dp)
7777 .verticalScroll(scrollState),
7878 verticalArrangement = Arrangement .spacedBy(8 .dp)
7979 ) {
Original file line number Diff line number Diff line change @@ -28,8 +28,13 @@ fun ScaffoldWithToolbar(
2828 topBar = {
2929 TopAppBar (
3030 title = { Text (text = title) },
31+ // TODO decide whether to use default colors instead
3132 colors = TopAppBarDefaults .topAppBarColors(
32- containerColor = MaterialTheme .colorScheme.primaryContainer
33+ containerColor = MaterialTheme .colorScheme.primaryContainer,
34+ scrolledContainerColor = MaterialTheme .colorScheme.primaryContainer,
35+ navigationIconContentColor = MaterialTheme .colorScheme.onPrimaryContainer,
36+ titleContentColor = MaterialTheme .colorScheme.onPrimaryContainer,
37+ actionIconContentColor = MaterialTheme .colorScheme.onPrimaryContainer,
3338 ),
3439 navigationIcon = {
3540 IconButton (onClick = onBackClick) {
You can’t perform that action at this time.
0 commit comments