Juanpe / SkeletonView

☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
MIT License
12.51k stars 1.1k forks source link

Fix crash when text is empty #483

Closed Juanpe closed 2 years ago

Juanpe commented 2 years ago

Summary

Resolves #482

Now, if a label or textView is empty the app crashes. So, I check if the text is not empty before to get the attributes to estimate the number of lines.