diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index e53d7f093b..90d88ad6c5 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -2049,6 +2049,8 @@ public class FragmentMessages extends FragmentEx { }); snackbar.show(); + final Context context = getContext().getApplicationContext(); + // Wait new Handler().postDelayed(new Runnable() { @Override @@ -2059,8 +2061,6 @@ public class FragmentMessages extends FragmentEx { if (snackbar.isShown()) snackbar.dismiss(); - final Context context = getContext().getApplicationContext(); - new Thread(new Runnable() { @Override public void run() {