changed noop on PrecomputedFutureTextSetterCompat to error throw
This commit is contained in:
parent
c4a2bb94e2
commit
a6bd102e82
@ -55,7 +55,8 @@ public class PrecomputedFutureTextSetterCompat implements Markwon.TextSetter {
|
|||||||
|
|
||||||
onComplete.run();
|
onComplete.run();
|
||||||
} else {
|
} else {
|
||||||
Log.w("Markwon, no-op", "PrecomputedFutureTextSetterCompat: textView provided is not an AppCompatTextView!");
|
|
||||||
|
throw new IllegalStateException("TextView provided is not a child of AppCompatTextView, cannot call setTextFuture().");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user