From 00025694e8fa5597e83ed6bb7729b920e7e29510 Mon Sep 17 00:00:00 2001 From: Steffen Matthischke Date: Wed, 24 Apr 2024 15:53:56 +0200 Subject: [PATCH 1/2] Don't pass reference of batchOperation to closure to keep behavior before c7c79c7808037ec56555e59a373f9339e634457c --- SectionKit/Sources/Utility/UICollectionView+Apply.swift | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/SectionKit/Sources/Utility/UICollectionView+Apply.swift b/SectionKit/Sources/Utility/UICollectionView+Apply.swift index ab250cf4..cdb4b05c 100644 --- a/SectionKit/Sources/Utility/UICollectionView+Apply.swift +++ b/SectionKit/Sources/Utility/UICollectionView+Apply.swift @@ -54,7 +54,9 @@ extension UICollectionView { if reloads.isNotEmpty { reloadItems(at: reloads.map { IndexPath(item: $0, section: section) }) } - }, completion: { batchOperation.completion?($0) }) + }, completion: { [completion = batchOperation.completion] in + completion?($0) + }) } } @@ -108,7 +110,9 @@ extension UICollectionView { if reloads.isNotEmpty { reloadSections(IndexSet(reloads)) } - }, completion: { batchOperation.completion?($0) }) + }, completion: { [completion = batchOperation.completion] in + completion?($0) + }) } } } From 6ab82ff426913b7c86596f5120da4b39f709c29f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Apr 2024 09:17:05 +0000 Subject: [PATCH 2/2] Bump git from 1.11.0 to 1.19.1 (#118) --- Gemfile.lock | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index b3ee0fed..71848989 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -138,7 +138,8 @@ GEM xcpretty (~> 0.3.0) xcpretty-travis-formatter (>= 0.0.3) gh_inspector (1.1.3) - git (1.11.0) + git (1.19.1) + addressable (~> 2.8) rchardet (~> 1.8) google-apis-androidpublisher_v3 (0.19.0) google-apis-core (>= 0.4, < 2.a)