Skip to content

Commit 546759e

Browse files
authored
Fix comment
1 parent 2376a83 commit 546759e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -874,9 +874,8 @@ class VideoDetailFragment :
874874
private fun updateTabs(info: StreamInfo) {
875875
if (showRelatedItems) {
876876
when (val relatedItemsLayout = binding.relatedItemsLayout) {
877-
null -> pageAdapter.updateItem(RELATED_TAB_TAG, getInstance(info))
878-
879877
// phone
878+
null -> pageAdapter.updateItem(RELATED_TAB_TAG, getInstance(info))
880879
else -> { // tablet + TV
881880
getChildFragmentManager().beginTransaction()
882881
.replace(R.id.relatedItemsLayout, getInstance(info))

0 commit comments

Comments
 (0)