Fix status bar padding again

This commit is contained in:
Blatzar 2022-10-28 21:49:14 +02:00
parent 617fc4a295
commit fd7cf51f57

View file

@ -542,10 +542,11 @@ class HomeFragment : Fragment() {
} }
observe(homeViewModel.preview) { preview -> observe(homeViewModel.preview) { preview ->
// Always reset the padding, otherwise the will move lower and lower
home_watch_holder?.setPadding(0, 0, 0, 0)
when (preview) { when (preview) {
is Resource.Success -> { is Resource.Success -> {
home_preview?.isVisible = true home_preview?.isVisible = true
home_watch_holder?.setPadding(0,0,0,0)
preview.value.apply { preview.value.apply {
home_preview_tags?.text = tags?.joinToString("") ?: "" home_preview_tags?.text = tags?.joinToString("") ?: ""