From 327fc742d3285d5552b969a7919ca9a8b4a37178 Mon Sep 17 00:00:00 2001 From: Stypox Date: Wed, 20 Jan 2021 11:42:24 +0100 Subject: [PATCH] Fix channel subscribe button causing crash in main page tab The binding was being set to null on onDestroyView() instead of in onDestroy() --- .../newpipe/fragments/list/channel/ChannelFragment.java | 5 ----- 1 file changed, 5 deletions(-) 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 e8a5d380b..486777ff1 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 @@ -131,14 +131,9 @@ public class ChannelFragment extends BaseListInfoFragment if (subscribeButtonMonitor != null) { subscribeButtonMonitor.dispose(); } - } - - @Override - public void onDestroyView() { channelBinding = null; headerBinding = null; playlistControlBinding = null; - super.onDestroyView(); } /*//////////////////////////////////////////////////////////////////////////