Commit fb8aba0f by amateur

1

1 parent 370e97ec
...@@ -114,6 +114,7 @@ public class OkhttpApi { ...@@ -114,6 +114,7 @@ public class OkhttpApi {
@Override @Override
public void onResponse(@NotNull Call call, @NotNull Response response) throws IOException { public void onResponse(@NotNull Call call, @NotNull Response response) throws IOException {
if (!response.isSuccessful()) { if (!response.isSuccessful()) {
finalDownListener.onFail();
return; return;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!