From b431aabddb299950a8556e260505b4d6e5f84c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanpe=20Catala=CC=81n?= Date: Fri, 31 Jan 2020 15:22:54 +0100 Subject: [PATCH] increase pod version --- SkeletonView.podspec | 2 +- Sources/SkeletonView.swift | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/SkeletonView.podspec b/SkeletonView.podspec index 7399fc2f..ea32ab1c 100644 --- a/SkeletonView.podspec +++ b/SkeletonView.podspec @@ -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. diff --git a/Sources/SkeletonView.swift b/Sources/SkeletonView.swift index e78d4a73..283e91a5 100755 --- a/Sources/SkeletonView.swift +++ b/Sources/SkeletonView.swift @@ -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) }