Fix comment
This commit is contained in:
parent
2376a83e0c
commit
4b424bc6bd
@ -874,9 +874,9 @@ class VideoDetailFragment :
|
||||
private fun updateTabs(info: StreamInfo) {
|
||||
if (showRelatedItems) {
|
||||
when (val relatedItemsLayout = binding.relatedItemsLayout) {
|
||||
// phone
|
||||
null -> pageAdapter.updateItem(RELATED_TAB_TAG, getInstance(info))
|
||||
|
||||
// phone
|
||||
else -> { // tablet + TV
|
||||
getChildFragmentManager().beginTransaction()
|
||||
.replace(R.id.relatedItemsLayout, getInstance(info))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user