When you swipe up and down the top app bar moves. This updates the padding value. All composable which take this as param constantly recompose because the padding constantly changes as the header takes up more/less space. We can avoid that by applying it before the main composables. I had already done this for the feed. But we can do this easily already for the other screens.
When you swipe up and down the top app bar moves. This updates the padding value. All composable which take this as param constantly recompose because the padding constantly changes as the header takes up more/less space. We can avoid that by applying it before the main composables. I had already done this for the feed. But we can do this easily already for the other screens.