From def07b6b52e080415c90262cd56af7d23b8b11db Mon Sep 17 00:00:00 2001 From: Paul Von Schrottky Date: Thu, 10 Nov 2022 00:39:05 -0700 Subject: [PATCH 1/2] Fix missing photo permission msg in image block --- .../ViewRelated/Gutenberg/GutenbergMediaPickerHelper.swift | 6 ------ 1 file changed, 6 deletions(-) diff --git a/WordPress/Classes/ViewRelated/Gutenberg/GutenbergMediaPickerHelper.swift b/WordPress/Classes/ViewRelated/Gutenberg/GutenbergMediaPickerHelper.swift index 84f501fd34f8..4048fdd8da89 100644 --- a/WordPress/Classes/ViewRelated/Gutenberg/GutenbergMediaPickerHelper.swift +++ b/WordPress/Classes/ViewRelated/Gutenberg/GutenbergMediaPickerHelper.swift @@ -125,12 +125,6 @@ extension GutenbergMediaPickerHelper: WPMediaPickerViewControllerDelegate { } } - open func mediaPickerController(_ picker: WPMediaPickerViewController, handleError error: Error) -> Bool { - let alert = WPMediaPickerAlertHelper.buildAlertControllerWithError(error) - context.present(alert, animated: true) - return true - } - func mediaPickerControllerDidCancel(_ picker: WPMediaPickerViewController) { mediaLibraryDataSource.searchCancelled() context.dismiss(animated: true, completion: { self.invokeMediaPickerCallback(asset: nil) }) From 5587e49a200b12652ad5097d1c855dba25681c37 Mon Sep 17 00:00:00 2001 From: Paul Von Schrottky Date: Thu, 10 Nov 2022 00:44:28 -0700 Subject: [PATCH 2/2] Added release note --- RELEASE-NOTES.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index b1200ac55b88..d23dd14fea31 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,6 +1,7 @@ 21.2 ----- * [*] [internal] Refactored fetching posts in the Reader tab. [#19539] +* [*] [Block Editor] Fixed image block issue where no message was shown when permission to the device photos was not granted [#19577] 21.1