commonsite: properly set the url for the post.

increase genericwebview check timer frequency.
refactor-toolbar
Floens 8 years ago
parent 64b2f15e38
commit 26683237e5
  1. 2
      Clover/app/src/main/java/org/floens/chan/core/site/common/CommonSite.java
  2. 1
      Clover/app/src/main/java/org/floens/chan/core/site/sites/vichan/ViChan.java
  3. 2
      Clover/app/src/main/java/org/floens/chan/ui/captcha/GenericWebViewAuthenticationLayout.java

@ -355,6 +355,8 @@ public abstract class CommonSite extends SiteBase {
}
};
call.url(endpoints().reply(reply.loadable));
setupPost(reply, call);
httpCallManager.makeHttpCall(call, new HttpCall.HttpCallback<HttpCall>() {

@ -168,7 +168,6 @@ public class ViChan extends CommonSite {
public HttpUrl reply(Loadable loadable) {
return sys.builder().s("post.php").url();
}
});
setActions(new CommonActions() {

@ -31,7 +31,7 @@ import org.floens.chan.core.site.Site;
import org.floens.chan.utils.AndroidUtils;
public class GenericWebViewAuthenticationLayout extends WebView implements AuthenticationLayoutInterface {
public static final int CHECK_INTERVAL = 800;
public static final int CHECK_INTERVAL = 500;
private final Handler handler = new Handler();
private boolean attachedToWindow = false;

Loading…
Cancel
Save