mirror of https://github.com/iSoron/uhabits.git
In rare cases, it seems either that `onDraw` is called before `onMeasure` or that `onMeasure` is called with a view that has zero height/width. This causes `reallocateCache` to produce an IllegalArgumentException. This patch ensures that diameter is never zero. Fixes #904pull/933/head
parent
d87961d800
commit
b33dd2a994
Loading…
Reference in new issue