Skip to content

Commit dc68ebc

Browse files
committed
update: navigation logic in ApplicationPasswordDisabledViewModel: change navigationController method from popToRootViewController to popViewController
1 parent daee4c0 commit dc68ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/Classes/Authentication/Navigation Exceptions/ApplicationPasswordDisabledViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct ApplicationPasswordDisabledViewModel: ULErrorViewModel {
5050
if let previousViewController {
5151
navigationController.popToViewController(previousViewController, animated: true)
5252
} else {
53-
navigationController.popToRootViewController(animated: true)
53+
navigationController.popViewController(animated: true)
5454
}
5555
}
5656

0 commit comments

Comments
 (0)