mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
6dad7d2875
commit
f1a171261f
|
@ -2049,6 +2049,8 @@ public class FragmentMessages extends FragmentEx {
|
||||||
});
|
});
|
||||||
snackbar.show();
|
snackbar.show();
|
||||||
|
|
||||||
|
final Context context = getContext().getApplicationContext();
|
||||||
|
|
||||||
// Wait
|
// Wait
|
||||||
new Handler().postDelayed(new Runnable() {
|
new Handler().postDelayed(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -2059,8 +2061,6 @@ public class FragmentMessages extends FragmentEx {
|
||||||
if (snackbar.isShown())
|
if (snackbar.isShown())
|
||||||
snackbar.dismiss();
|
snackbar.dismiss();
|
||||||
|
|
||||||
final Context context = getContext().getApplicationContext();
|
|
||||||
|
|
||||||
new Thread(new Runnable() {
|
new Thread(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
Loading…
Reference in New Issue