mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 18:33:39 +00:00
Fix button spinning after failed CAPTCHA.
This commit is contained in:
parent
5cc3ac00c7
commit
fa6da1902f
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user