mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-23 08:14:45 +00:00
Prevent crash
This commit is contained in:
parent
6dad7d2875
commit
f1a171261f
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue