mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Fix status bar padding again
This commit is contained in:
parent
617fc4a295
commit
fd7cf51f57
1 changed files with 2 additions and 1 deletions
|
@ -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(" • ") ?: ""
|
||||
|
|
Loading…
Reference in a new issue