LisenseScreen: apply padding values

This commit is contained in:
MM20 2022-05-11 20:01:28 +02:00
parent 38f5e293c6
commit c4621507fd
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -32,9 +32,6 @@ fun LicenseScreen(library: OpenSourceLibrary) {
val context = LocalContext.current
val viewModel: LicenseScreenVM = viewModel()
val navController = LocalNavController.current
/*PreferenceScreen(title = stringResource(id = R.string.preference_category_license)) {
}*/
val scrollBehavior =
TopAppBarDefaults.exitUntilCollapsedScrollBehavior(rememberSplineBasedDecay())
@ -74,7 +71,7 @@ fun LicenseScreen(library: OpenSourceLibrary) {
},
) {
LazyColumn(
modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection)
modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection).padding(it)
) {
library.description?.let {
item {