Fix button spinning after failed CAPTCHA.
This commit is contained in:
parent
5cc3ac00c7
commit
fa6da1902f
2 changed files with 3 additions and 1 deletions
|
@ -198,6 +198,8 @@ public class RegistrationActivity extends BaseActionBarActivity implements Verif
|
||||||
}
|
}
|
||||||
} else if (requestCode == CAPTCHA) {
|
} else if (requestCode == CAPTCHA) {
|
||||||
Toast.makeText(this, R.string.RegistrationActivity_failed_to_verify_the_captcha, Toast.LENGTH_LONG).show();
|
Toast.makeText(this, R.string.RegistrationActivity_failed_to_verify_the_captcha, Toast.LENGTH_LONG).show();
|
||||||
|
createButton.setIndeterminateProgressMode(false);
|
||||||
|
createButton.setProgress(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ public class CaptchaActivity extends BaseActionBarActivity {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
webView.loadUrl("https://signalcaptchas.org/registration/generate.html\n");
|
webView.loadUrl("https://signalcaptchas.org/registration/generate.html");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void handleToken(String token) {
|
public void handleToken(String token) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue