Skip to content

Commit a50111f

Browse files
committed
see 02/05 log
1 parent 9b34846 commit a50111f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utilcode/src/main/java/com/blankj/utilcode/util/SpanUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,8 +1300,9 @@ public void draw(@NonNull final Canvas canvas, final CharSequence text,
13001300
private Drawable getCachedDrawable() {
13011301
WeakReference<Drawable> wr = mDrawableRef;
13021302
Drawable d = null;
1303-
if (wr != null)
1303+
if (wr != null) {
13041304
d = wr.get();
1305+
}
13051306
if (d == null) {
13061307
d = getDrawable();
13071308
mDrawableRef = new WeakReference<>(d);

0 commit comments

Comments
 (0)