Fix #336
This commit is contained in:
parent
56b42071ac
commit
3671803f49
|
@ -191,14 +191,17 @@ public abstract class MastodonAPIRequest<T> extends APIRequest<T>{
|
|||
}
|
||||
|
||||
void onError(ErrorResponse err){
|
||||
if(!canceled)
|
||||
invokeErrorCallback(err);
|
||||
}
|
||||
|
||||
void onError(String msg, int httpStatus, Throwable exception){
|
||||
if(!canceled)
|
||||
invokeErrorCallback(new MastodonErrorResponse(msg, httpStatus, exception));
|
||||
}
|
||||
|
||||
void onSuccess(T resp){
|
||||
if(!canceled)
|
||||
invokeSuccessCallback(resp);
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<locale android:name="eu" />
|
||||
<locale android:name="fi" />
|
||||
<locale android:name="fr" />
|
||||
<loacle android:name="sl".
|
||||
<loacle android:name="sl"/>
|
||||
<locale android:name="gl" />
|
||||
<locale android:name="hi-IN"/>
|
||||
<locale android:name="hr" />
|
||||
|
|
Loading…
Reference in New Issue