Skip to content

Commit 5002b37

Browse files
committed
Revert isBeingDismissedInAnyWay changes
1 parent 3317d49 commit 5002b37

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

WooCommerce/Classes/Extensions/UIViewController+Navigation.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ extension UIViewController {
66
/// A VC added to an existing navigation controller is dismissed when `isMovingFromParent` is `true`.
77
/// For any other scenario `isBeingDismissed` will do.
88
var isBeingDismissedInAnyWay: Bool {
9-
isMovingFromParent ||
10-
isBeingDismissed ||
11-
navigationController?.isBeingDismissed == true
9+
isMovingFromParent || isBeingDismissed || navigationController?.isBeingDismissed == true
1210
}
1311

1412
/// Async/await version of the UIKit `dismiss(animated:)`.

0 commit comments

Comments
 (0)