VideoDetailFragment: hide relatedItemsLayout in tablet mode after fullscreen
Fixes: #7617
This commit is contained in:
parent
9ba89d418b
commit
6ddd4a7e63
1 changed files with 5 additions and 1 deletions
|
|
@ -1899,7 +1899,11 @@ public final class VideoDetailFragment
|
|||
}
|
||||
|
||||
if (binding.relatedItemsLayout != null) {
|
||||
binding.relatedItemsLayout.setVisibility(fullscreen ? View.GONE : View.VISIBLE);
|
||||
if (showRelatedItems) {
|
||||
binding.relatedItemsLayout.setVisibility(fullscreen ? View.GONE : View.VISIBLE);
|
||||
} else {
|
||||
binding.relatedItemsLayout.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
scrollToTop();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue