diff --git a/Classes/Default/RMRPullToRefreshBaseMessageView.swift b/Classes/Default/RMRPullToRefreshBaseMessageView.swift index ad76062..84161df 100644 --- a/Classes/Default/RMRPullToRefreshBaseMessageView.swift +++ b/Classes/Default/RMRPullToRefreshBaseMessageView.swift @@ -116,7 +116,9 @@ class RMRPullToRefreshBaseMessageView: RMRPullToRefreshBaseView { override func didEndLoadingAnimation(hidden: Bool) { super.didEndLoadingAnimation(hidden) - self.logoHorizontalConstraint?.constant = 0.0 - self.messageViewLeftConstaint?.constant = 0.0 + if hidden { + self.logoHorizontalConstraint?.constant = 0.0 + self.messageViewLeftConstaint?.constant = 0.0 + } } } diff --git a/Example/Podfile b/Example/Podfile index 4ea4e4b..368debe 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -2,4 +2,4 @@ source 'https://github.com/CocoaPods/Specs.git' use_frameworks! -pod 'RMRPullToRefresh', :git => "https://git.redmadrobot.com/im/RMRPullToRefresh" \ No newline at end of file +pod 'RMRPullToRefresh', :git => "git@git.redmadrobot.com:im/RMRPullToRefresh.git" \ No newline at end of file diff --git a/Example/RMRPullToRefreshExample.xcodeproj/xcuserdata/im.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/Example/RMRPullToRefreshExample.xcodeproj/xcuserdata/im.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index e9c3f30..bc4e763 100644 --- a/Example/RMRPullToRefreshExample.xcodeproj/xcuserdata/im.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/Example/RMRPullToRefreshExample.xcodeproj/xcuserdata/im.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -12,15 +12,6 @@ symbolName = "UIViewAlertForUnsatisfiableConstraints" moduleName = ""> - -