Skip to content

Commit a80e88a

Browse files
committed
Fixed crash on iPad when opening More popover on Reviews screen
1 parent 0c4a74b commit a80e88a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WooCommerce/Classes/ViewRelated/Reviews/ReviewsViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ private extension ReviewsViewController {
256256
@IBAction func presentMoreActions() {
257257
let actionSheet = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)
258258
actionSheet.view.tintColor = .text
259+
actionSheet.popoverPresentationController?.barButtonItem = rightBarButton
259260

260261
actionSheet.addCancelActionWithTitle(Localization.ActionSheet.cancelAction)
261262
actionSheet.addDefaultActionWithTitle(Localization.ActionSheet.markAsReadAction) { [weak self] _ in

0 commit comments

Comments
 (0)