Skip to content

Commit

Permalink
🐛 Fix removeDummyDataSourceIfNeeded passing the reload parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurélien Grifasi committed Jan 15, 2019
1 parent 36a863b commit 6352030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SkeletonView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ extension UIView {
}

fileprivate func recursiveHideSkeleton(reloadDataAfter reload: Bool, root: UIView? = nil) {
removeDummyDataSourceIfNeeded()
removeDummyDataSourceIfNeeded(reloadAfter: reload)
isUserInteractionEnabled = true
subviewsSkeletonables.recursiveSearch(leafBlock: {
recoverViewState(forced: false)
Expand Down

0 comments on commit 6352030

Please sign in to comment.