FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

tests(modal-navigation): add test that opens dialog inside modal view · NativeScript/NativeScript@04c2852 · GitHub

Commit 04c2852

Browse files
authored andcommitted
tests(modal-navigation): add test that opens dialog inside modal view
1 parent eafe2b0 commit 04c2852

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tns-core-modules/ui/dialogs/dialogs.ios.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ function showUIAlertController(alertController: UIAlertController) {
207207
view = currentPage.modal;
208208

209209
if (view.ios instanceof UIViewController) {
210-
viewController = currentPage.modal.ios;
210+
viewController = view.ios;
211211
} else {
212212
viewController = iosView.getParentWithViewController(view).viewController;
213213
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL