Skip to content

Commit

Permalink
Merge pull request #6065 from FineFindus/fix/channel-video-tab-name
Browse files Browse the repository at this point in the history
fix: use string ressource for channel video tab
  • Loading branch information
Bnyro authored May 20, 2024
2 parents ee8fd82 + cfc8247 commit 131d2a3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ class ChannelFragment : DynamicLayoutManagerFragment() {
tabList.removeAll { tab ->
tab.name != VIDEOS_TAB_KEY
}
tabList[0] = ChannelTab(getString(tabNamesMap[VIDEOS_TAB_KEY]!!), "")
response.tabs.forEach { channelTab ->
val tabName = tabNamesMap[channelTab.name]?.let { getString(it) }
?: channelTab.name.replaceFirstChar(Char::titlecase)
Expand Down

0 comments on commit 131d2a3

Please sign in to comment.