Skip to content

Commit

Permalink
Remove layout subviews to fix infinite loop crash: Juanpe#495
Browse files Browse the repository at this point in the history
  • Loading branch information
jithin-epifi committed Nov 20, 2024
1 parent 30c92f0 commit d57a7d0
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ extension UIView {

@objc func skeletonLayoutSubviews() {
guard Thread.isMainThread else { return }
skeletonLayoutSubviews()
guard sk.isSkeletonActive else { return }
layoutSkeletonIfNeeded()
}
Expand Down

0 comments on commit d57a7d0

Please sign in to comment.