mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Cancel orphan toasts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user