mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Prevent crash
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user