Clear activity views

This commit is contained in:
M66B
2022-04-15 21:29:00 +02:00
parent 1b0d80cc9b
commit 224fcdb2f4
4 changed files with 34 additions and 28 deletions

View File

@@ -1047,10 +1047,6 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
@Override
protected void onDestroy() {
if (lastSnackbar != null) {
lastSnackbar.setAction(null, null);
lastSnackbar = null;
}
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(this);
lbm.unregisterReceiver(creceiver);
super.onDestroy();