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

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