Skip to content

Commit

Permalink
Prevent null pointer #57
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeDeighton committed Jun 24, 2018
1 parent b0a14e9 commit 6ec769f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ private void updateWheelStateIfReq() {
protected void onDraw(Canvas canvas) {
updateWheelStateIfReq();

if (mWheelDrawable != null) {
if (mWheelDrawable != null && mWheelBounds != null) {
drawWheel(canvas);
}

Expand Down

0 comments on commit 6ec769f

Please sign in to comment.