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.62k stars 1.12k 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.