forked from recloudstream/cloudstream
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 ->
|
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(" • ") ?: ""
|
||||||
|
|
Loading…
Reference in a new issue