Fix comment

This commit is contained in:
Tobi 2026-01-28 07:33:46 -08:00 committed by tobigr
parent 2376a83e0c
commit 4b424bc6bd

View File

@ -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))