diff --git a/app/src/main/java/org/schabi/newpipe/ui/components/about/AboutTab.kt b/app/src/main/java/org/schabi/newpipe/ui/components/about/AboutTab.kt index 7d11bf6e7..9d38e4a16 100644 --- a/app/src/main/java/org/schabi/newpipe/ui/components/about/AboutTab.kt +++ b/app/src/main/java/org/schabi/newpipe/ui/components/about/AboutTab.kt @@ -73,7 +73,7 @@ fun AboutTab() { Column( modifier = Modifier .fillMaxWidth() - .padding(horizontal = 20.dp, vertical = 10.dp) + .padding(16.dp) .verticalScroll(scrollState), verticalArrangement = Arrangement.spacedBy(8.dp) ) { diff --git a/app/src/main/java/org/schabi/newpipe/ui/components/common/ScaffoldWithToolbar.kt b/app/src/main/java/org/schabi/newpipe/ui/components/common/ScaffoldWithToolbar.kt index b176d2b3c..18139c7a6 100644 --- a/app/src/main/java/org/schabi/newpipe/ui/components/common/ScaffoldWithToolbar.kt +++ b/app/src/main/java/org/schabi/newpipe/ui/components/common/ScaffoldWithToolbar.kt @@ -28,8 +28,13 @@ fun ScaffoldWithToolbar( topBar = { TopAppBar( title = { Text(text = title) }, + // TODO decide whether to use default colors instead colors = TopAppBarDefaults.topAppBarColors( - containerColor = MaterialTheme.colorScheme.primaryContainer + containerColor = MaterialTheme.colorScheme.primaryContainer, + scrolledContainerColor = MaterialTheme.colorScheme.primaryContainer, + navigationIconContentColor = MaterialTheme.colorScheme.onPrimaryContainer, + titleContentColor = MaterialTheme.colorScheme.onPrimaryContainer, + actionIconContentColor = MaterialTheme.colorScheme.onPrimaryContainer, ), navigationIcon = { IconButton(onClick = onBackClick) {