Skip to content

Commit

Permalink
fix bug: bilibili#12
Browse files Browse the repository at this point in the history
liuwons committed Aug 5, 2019
1 parent 7126d19 commit 2eb5365
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ public void setText(CharSequence text, BufferType type) {
mHasDraweeInText = spans.length > 0;
}
super.setText(text, type);
if (mHasDraweeInText && wasSpanAttached) {
if (mHasDraweeInText) {
onAttach(); // reattach drawee spans
}
}

0 comments on commit 2eb5365

Please sign in to comment.