Cancel orphan toasts

This commit is contained in:
M66B
2022-05-29 13:57:54 +02:00
parent bfaad8333e
commit fd1013b6ad
5 changed files with 28 additions and 7 deletions

View File

@@ -791,7 +791,10 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
@Override
protected void onDestroyed(Bundle args) {
toast = null;
if (toast != null) {
toast.cancel();
toast = null;
}
}
@Override