Skip to content

Commit 5f04c7f

Browse files
committed
Re-introduce accidentally removed else brance in MainShareViewController
See discussion at #19513 (comment)
1 parent 6d49db7 commit 5f04c7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

WordPress/WordPressShareExtension/MainShareViewController.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ private extension MainShareViewController {
9999
if editorController.originatingExtension == .saveToDraft {
100100
// We need to make sure we don't end up with stacked modal view controllers by using this:
101101
shareNavController.modalPresentationStyle = .overFullScreen
102+
} else {
103+
shareNavController.transitioningDelegate = extensionTransitioningManager
104+
shareNavController.modalPresentationStyle = .custom
102105
}
103106

104107
present(shareNavController, animated: true)

0 commit comments

Comments
 (0)