mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
2f6c0d37d6
commit
8073cf425e
|
@ -10,7 +10,7 @@ import android.widget.Toast;
|
|||
|
||||
public class ToastEx extends Toast {
|
||||
public ToastEx(Context context) {
|
||||
super(context);
|
||||
super(context.getApplicationContext());
|
||||
}
|
||||
|
||||
public static ToastEx makeText(Context context, int resId, int duration) throws Resources.NotFoundException {
|
||||
|
|
Loading…
Reference in New Issue