Skip to content

Commit

Permalink
feat: Migrate to SDk 34
Browse files Browse the repository at this point in the history
  • Loading branch information
AmrDeveloper committed Jul 17, 2024
1 parent 482ea1a commit ebecf3f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ class TurtleCanvasView @JvmOverloads constructor(
private lateinit var onRenderStopped: () -> Unit
private lateinit var onRenderFinished: () -> Unit

override fun onDraw(canvas: Canvas?) {
override fun onDraw(canvas: Canvas) {
super.onDraw(canvas)
canvas ?: return
interpretInstructions(canvas)
}

Expand Down

0 comments on commit ebecf3f

Please sign in to comment.