Skip to content

v3.0.1

Choose a tag to compare

@mikepenz mikepenz released this 20 Jan 12:30
· 510 commits to develop since this release
  • Fix exception when closing empty path
It happens when you open Android studio's layout preview where some of your views try to use IconicsDrawable. Because layout preview doesn't support Paint.getTextPath(), path itself will be empty, and when you try to close it, it throws the exception.

Simple fix is to check if path is not empty before trying to close it.

THANKS @Robyer