Skip to content

Commit 817631e

Browse files
authored
Merge pull request #6187 from woocommerce/issue/6185-reviews-actionsheet-ipad-crash
Reviews: Fixed crash on iPad when opening More popover
2 parents 0c4a74b + 1997e58 commit 817631e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

RELEASE-NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
-----
55
- [*] Orders: In the experimental Order Creation feature, product variations added to a new order now show a list of their attributes. [https://github.com/woocommerce/woocommerce-ios/pull/6131]
66
- [*] Enlarged the tap area for the action button on the notice view. [https://github.com/woocommerce/woocommerce-ios/pull/6146]
7+
- [*] Reviews: Fixed crash on iPad when tapping the More button. [https://github.com/woocommerce/woocommerce-ios/pull/6187]
78

89
8.5
910
-----

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)