Skip to content

Commit d1ffe5b

Browse files
committed
Add documentation
1 parent ab3ba1c commit d1ffe5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WooCommerce/Classes/ViewRelated/Reviews/ReviewReply.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ final class ReviewReplyHostingController: UIHostingController<ReviewReply>, UIAd
4949
case .success:
5050
self?.systemNoticePresenter.enqueue(notice: Notice(title: Localization.success, feedbackType: .success))
5151
case .error:
52+
// Include a notice identifier so the the error can be presented as a system notification even if the app is closed.
5253
let noticeIdentifier = UUID().uuidString
5354
let notice = Notice(title: Localization.error,
5455
feedbackType: .error,

0 commit comments

Comments
 (0)