Skip to content

Commit

Permalink
Workarond iOS 12.4 crash when using UIDatePicker
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Sosiuk committed Sep 18, 2020
1 parent 0adc968 commit b7bf390
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/SubviewsSkeletonables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ extension UIView {

extension UITableView {
override var subviewsToSkeleton: [UIView] {
guard dataSource?.numberOfSections?(in: self) ?? 0 > 0 else { return [] }
return visibleCells + visibleSectionHeaders + visibleSectionFooters
}
}
Expand Down

0 comments on commit b7bf390

Please sign in to comment.