Does anyone know how to fix it? :pray::skin-tone-2...
# compose
y
Does anyone know how to fix it? 🙏🏻
🧵 1
I know! At first! I ❤️ compose! Problem is that i set padding before backgroud! So correct code is
Copy code
Column(
            modifier = Modifier
                .fillMaxSize()
                .background(
                    brush = Brush.verticalGradient(
                        colors = listOf(
                            MaterialTheme.colorScheme.primary,
                            MaterialTheme.colorScheme.secondary
                        )
                    )
                )
                .padding(bottom = paddingValues.calculateBottomPadding())