Crash fixes

This commit is contained in:
Grishka
2022-05-05 22:05:18 +03:00
parent 4ad9fa030b
commit 88504531d4
7 changed files with 35 additions and 9 deletions

View File

@@ -26,6 +26,8 @@ public class MastodonErrorResponse extends ErrorResponse{
@Override
public void showToast(Context context){
if(context==null)
return;
Toast.makeText(context, error, Toast.LENGTH_SHORT).show();
}
}