From 64da7a06c02647d856402f89d7115a83a50ade04 Mon Sep 17 00:00:00 2001 From: TobiGr Date: Mon, 18 Sep 2023 15:52:29 +0200 Subject: [PATCH] Fix previous ActionBar title visible for a few miliseconds when opening ChannelFragment --- .../schabi/newpipe/fragments/list/channel/ChannelFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelFragment.java index 2c6189880..c1345180b 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelFragment.java @@ -146,6 +146,7 @@ public class ChannelFragment extends BaseStateFragment binding.viewPager.setAdapter(tabAdapter); binding.tabLayout.setupWithViewPager(binding.viewPager); + setTitle(name); binding.channelTitleView.setText(name); if (!PicassoHelper.getShouldLoadImages()) { // do not waste space for the banner if it is not going to be loaded