Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
liulingfeng authored Feb 12, 2025
1 parent 47e909d commit 4169be4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit 4169be4

Please sign in to comment.