Fix button spinning after failed CAPTCHA.

This commit is contained in:
Greyson Parrelli 2019-02-19 13:13:32 -08:00
parent 5cc3ac00c7
commit fa6da1902f
2 changed files with 3 additions and 1 deletions

View File

@ -198,6 +198,8 @@ public class RegistrationActivity extends BaseActionBarActivity implements Verif
}
} else if (requestCode == CAPTCHA) {
Toast.makeText(this, R.string.RegistrationActivity_failed_to_verify_the_captcha, Toast.LENGTH_LONG).show();
createButton.setIndeterminateProgressMode(false);
createButton.setProgress(0);
}
}

View File

@ -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) {