mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-03 14:00:32 +00:00
Fix previous ActionBar title visible for a few miliseconds when opening ChannelFragment
This commit is contained in:
parent
57eaa1bbe1
commit
64da7a06c0
@ -146,6 +146,7 @@ public class ChannelFragment extends BaseStateFragment<ChannelInfo>
|
|||||||
binding.viewPager.setAdapter(tabAdapter);
|
binding.viewPager.setAdapter(tabAdapter);
|
||||||
binding.tabLayout.setupWithViewPager(binding.viewPager);
|
binding.tabLayout.setupWithViewPager(binding.viewPager);
|
||||||
|
|
||||||
|
setTitle(name);
|
||||||
binding.channelTitleView.setText(name);
|
binding.channelTitleView.setText(name);
|
||||||
if (!PicassoHelper.getShouldLoadImages()) {
|
if (!PicassoHelper.getShouldLoadImages()) {
|
||||||
// do not waste space for the banner if it is not going to be loaded
|
// do not waste space for the banner if it is not going to be loaded
|
||||||
|
Loading…
Reference in New Issue
Block a user