There was an error while loading. Please reload this page.
1 parent e8e4bf6 commit 42acbfeCopy full SHA for 42acbfe
library/src/main/java/com/zhangym/customview/VerificationCodeView.java
@@ -588,7 +588,7 @@ protected void onDraw(Canvas canvas) {
588
/*
589
绘制文本
590
*/
591
- if (mVerificationText != null) {
+ if (mVerificationText != null && mVerificationText.length() > 0) {
592
mPaint.setStyle(Paint.Style.FILL_AND_STROKE);
593
// 设置文本是否加粗
594
if (isTextBold) {
0 commit comments