1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-23 00:06:27 +00:00

Prevent crash

This commit is contained in:
M66B 2019-01-05 18:30:37 +00:00
parent 6dad7d2875
commit f1a171261f

View file

@ -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() {