Fixed crash

This commit is contained in:
M66B
2018-09-05 07:38:53 +00:00
parent 49f7a61717
commit 9983addfdd
2 changed files with 4 additions and 4 deletions

View File

@@ -385,8 +385,8 @@ public class FragmentMessages extends FragmentEx {
}
@Override
public void onError(Throwable ex) {
Toast.makeText(getContext(), ex.toString(), Toast.LENGTH_LONG).show();
public void onError(Context context, Throwable ex) {
Toast.makeText(context, ex.toString(), Toast.LENGTH_LONG).show();
}
});