diff --git a/CHANGELOG.md b/CHANGELOG.md index 4608ac9b..e601bb15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +### 0.9.40 +- **Fix**: Load more request repetion in `PaginationWrapper`. + ### 0.9.39 - **Add**: `Animatable` protocol to TIUIKitCore. - **Add**: `ActivityIndicator` protocol to TIUIKitCore. diff --git a/LeadKit.podspec b/LeadKit.podspec index a8dc1db2..67cee149 100644 --- a/LeadKit.podspec +++ b/LeadKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "LeadKit" - s.version = "0.9.39" + s.version = "0.9.40" s.summary = "iOS framework with a bunch of tools for rapid development" s.homepage = "https://github.com/TouchInstinct/LeadKit" s.license = "Apache License, Version 2.0" diff --git a/Sources/Classes/DataLoading/PaginationDataLoading/PaginationWrapper.swift b/Sources/Classes/DataLoading/PaginationDataLoading/PaginationWrapper.swift index 3ce5984d..e15ec8f6 100644 --- a/Sources/Classes/DataLoading/PaginationDataLoading/PaginationWrapper.swift +++ b/Sources/Classes/DataLoading/PaginationDataLoading/PaginationWrapper.swift @@ -202,12 +202,7 @@ final public class PaginationWrapper { - return Binder(self) { base, _ in - base.paginationViewModel.loadMore() - } - } - var scrollOffsetChanged: Binder { return Binder(self) { base, value in base.currentPlaceholderViewTopConstraint?.constant = -value.y