Fix channel subscribe button causing crash in main page tab

The binding was being set to null on onDestroyView() instead of in onDestroy()
pull/5464/head
Stypox 2021-01-20 11:42:24 +01:00
rodzic 9a65f02d5b
commit 327fc742d3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4BDF1B40A49FDD23
1 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -131,14 +131,9 @@ public class ChannelFragment extends BaseListInfoFragment<ChannelInfo>
if (subscribeButtonMonitor != null) { if (subscribeButtonMonitor != null) {
subscribeButtonMonitor.dispose(); subscribeButtonMonitor.dispose();
} }
}
@Override
public void onDestroyView() {
channelBinding = null; channelBinding = null;
headerBinding = null; headerBinding = null;
playlistControlBinding = null; playlistControlBinding = null;
super.onDestroyView();
} }
/*////////////////////////////////////////////////////////////////////////// /*//////////////////////////////////////////////////////////////////////////