Skip to content

Commit

Permalink
little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethosa committed Mar 2, 2022
1 parent 41dc454 commit 4e92061
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/main/java/com/ethosa/ktc/utils/HtmlImageGetter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ class HtmlImageGetter(
/**
* Draws canvas on drawable.
*/
override fun draw(canvas: Canvas) = drawable?.run { draw(canvas) }!!
override fun draw(canvas: Canvas) {
drawable?.run { draw(canvas) }
}
}
}

0 comments on commit 4e92061

Please sign in to comment.