Fix status bar padding again

This commit is contained in:
Blatzar 2022-10-28 21:49:14 +02:00
parent 617fc4a295
commit fd7cf51f57
1 changed files with 2 additions and 1 deletions

View File

@ -542,10 +542,11 @@ class HomeFragment : Fragment() {
}
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) {
is Resource.Success -> {
home_preview?.isVisible = true
home_watch_holder?.setPadding(0,0,0,0)
preview.value.apply {
home_preview_tags?.text = tags?.joinToString("") ?: ""