Skip to content

Commit 9bb2ada

Browse files
committed
修复右侧文字颜色失效bug
1 parent 3c710d5 commit 9bb2ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/study/xuan/library/widget/EasyTextView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ private void initIconFont() {
208208
}
209209

210210
private void setRightTextAttr(int centerSize, SpannableStringBuilder stringBuilder) {
211-
if (!TextUtils.isEmpty(mTextRight) && mRightSize != 0) {
211+
if (!TextUtils.isEmpty(mTextRight)) {
212212
int start = mTextPadding == 0 ? iconIndex + centerSize : iconIndex + centerSize + 1;
213213
/*
214214
* ==============

0 commit comments

Comments
 (0)