diff --git a/README.md b/README.md index 18f5ab6..03d2f2c 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,8 @@ public class DemoActivity extends AppCompatActivity { } }) .build(this); - Captcha captcha = Captcha.getInstance().init(captchaConfiguration); + Captcha captcha = Captcha.getInstance(); + captcha.init(captchaConfiguration); captcha.validate(); } }