Skip to content

Commit

Permalink
increase pod version
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanpe Catalán committed Jan 31, 2020
1 parent 0091ffc commit b431aab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SkeletonView.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SkeletonView"
s.version = "1.8.2"
s.version = "1.8.3"
s.summary = "An elegant way to show users that something is happening and also prepare them to which contents he is waiting"
s.description = <<-DESC
Today almost all apps have async processes, as API requests, long runing processes, etc. And while the processes are working, usually developers place a loading view to show users that something is going on.
Expand Down
5 changes: 2 additions & 3 deletions Sources/SkeletonView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,15 +181,14 @@ extension UIView {
guard isSkeletonActive else { return }
currentSkeletonConfig?.transition = transition
isUserInteractionEnabled = true
removeDummyDataSourceIfNeeded(reloadAfter: reload)
subviewsSkeletonables.recursiveSearch(leafBlock: {
recoverViewState(forced: false)
removeSkeletonLayer()
}) { subview in
subview.recursiveHideSkeleton(reloadDataAfter: reload, transition: transition)
}

removeDummyDataSourceIfNeeded(reloadAfter: reload)


if let root = root {
flowDelegate?.didHideSkeletons(rootView: root)
}
Expand Down

0 comments on commit b431aab

Please sign in to comment.