Merge pull request #13037 from dustdfg/tablet_related_items
VideoDetailFragment: hide relatedItemsLayout in tablet mode after fullscreen
This commit is contained in:
commit
4bad882668
@ -1905,7 +1905,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…
x
Reference in New Issue
Block a user