mirror of https://github.com/M66B/FairEmail.git
Reset snackbar action
This commit is contained in:
parent
c4d9d8a083
commit
345cc01dcd
|
@ -1047,7 +1047,10 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
lastSnackbar = null;
|
||||
if (lastSnackbar != null) {
|
||||
lastSnackbar.setAction(null, null);
|
||||
lastSnackbar = null;
|
||||
}
|
||||
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(this);
|
||||
lbm.unregisterReceiver(creceiver);
|
||||
super.onDestroy();
|
||||
|
|
Loading…
Reference in New Issue