Skip to content

Commit 64da7a0

Browse files
TobiGrStypox
authored andcommitted
Fix previous ActionBar title visible for a few miliseconds when opening ChannelFragment
1 parent 57eaa1b commit 64da7a0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelFragment.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ protected void initViews(final View rootView, final Bundle savedInstanceState) {
146146
binding.viewPager.setAdapter(tabAdapter);
147147
binding.tabLayout.setupWithViewPager(binding.viewPager);
148148

149+
setTitle(name);
149150
binding.channelTitleView.setText(name);
150151
if (!PicassoHelper.getShouldLoadImages()) {
151152
// do not waste space for the banner if it is not going to be loaded

0 commit comments

Comments
 (0)