diff --git a/app/src/main/java/app/fedilab/android/peertube/activities/PeertubeMainActivity.java b/app/src/main/java/app/fedilab/android/peertube/activities/PeertubeMainActivity.java index 7f4d47e8..94994dfb 100644 --- a/app/src/main/java/app/fedilab/android/peertube/activities/PeertubeMainActivity.java +++ b/app/src/main/java/app/fedilab/android/peertube/activities/PeertubeMainActivity.java @@ -147,6 +147,7 @@ public class PeertubeMainActivity extends PeertubeBaseMainActivity { public void onDestroy() { super.onDestroy(); binding = null; + typeOfConnection = TypeOfConnection.NORMAL; LocalBroadcastManager.getInstance(PeertubeMainActivity.this).unregisterReceiver(broadcast_data); }