From 8a6873b75e1d30bc81f37086c3dbee2dc77c166c Mon Sep 17 00:00:00 2001 From: Hassaan El-Garem Date: Fri, 12 May 2023 05:51:08 +0300 Subject: [PATCH 1/3] Update: correctly configure the empty view if the delegate returns nil --- Pod/Classes/WPMediaPickerViewController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pod/Classes/WPMediaPickerViewController.m b/Pod/Classes/WPMediaPickerViewController.m index 0d7dde0..f8e0143 100644 --- a/Pod/Classes/WPMediaPickerViewController.m +++ b/Pod/Classes/WPMediaPickerViewController.m @@ -696,7 +696,8 @@ - (UIViewController *)emptyViewController if ([self usingEmptyViewController]) { _emptyViewController = [self.mediaPickerDelegate emptyViewControllerForMediaPickerController:self]; } - else { + + if (_emptyViewController == nil) { _emptyViewController = self.defaultEmptyViewController; } From cab8e939b9e6c8b9ed7877c6b1bbbfd25d30b884 Mon Sep 17 00:00:00 2001 From: Hassaan El-Garem Date: Fri, 12 May 2023 05:53:26 +0300 Subject: [PATCH 2/3] Update: bump podspec version --- WPMediaPicker.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WPMediaPicker.podspec b/WPMediaPicker.podspec index e614f71..8efb368 100644 --- a/WPMediaPicker.podspec +++ b/WPMediaPicker.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |s| s.name = 'WPMediaPicker' - s.version = '1.8.7' + s.version = '1.8.8-beta.1' s.summary = 'WPMediaPicker is an iOS controller that allows capture and picking of media assets.' s.description = <<-DESC From ec079ccc4b2277859fb44a2ec82cee548944648b Mon Sep 17 00:00:00 2001 From: Hassaan El-Garem Date: Fri, 12 May 2023 06:36:44 +0300 Subject: [PATCH 3/3] Run pod install to point to the new podspec --- Example/Podfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 72984ff..82d8f15 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - WPMediaPicker (1.8.7) + - WPMediaPicker (1.8.8-beta.1) DEPENDENCIES: - WPMediaPicker (from `../`) @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - WPMediaPicker: 0d45dfd7b3c5651c5236ffd48c1b0b2f60a2d5d2 + WPMediaPicker: 3b0d7272bec6eb0d8bc267daa5606c9b259e6cbb PODFILE CHECKSUM: 31590cb12765a73c9da27d6ea5b8b127c095d71d