File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -459,6 +459,9 @@ export function prompt(arg: any): Promise<PromptResult> {
459
459
}
460
460
}
461
461
stackLayout . addChild ( textField ) ;
462
+ if ( options . view instanceof View ) {
463
+ stackLayout . addChild ( options . view ) ;
464
+ }
462
465
options . view = stackLayout ;
463
466
const alert = createAlertDialogBuilder ( options ) ;
464
467
@@ -532,6 +535,10 @@ export function login(arg: any): Promise<LoginResult> {
532
535
533
536
stackLayout . addChild ( userNameTextField ) ;
534
537
stackLayout . addChild ( passwordTextField ) ;
538
+
539
+ if ( options . view instanceof View ) {
540
+ stackLayout . addChild ( options . view ) ;
541
+ }
535
542
options . view = stackLayout ;
536
543
537
544
const alert = createAlertDialogBuilder ( options ) ;
Original file line number Diff line number Diff line change @@ -413,6 +413,9 @@ export function prompt(arg: any): Promise<PromptResult> {
413
413
}
414
414
}
415
415
stackLayout . addChild ( textField ) ;
416
+ if ( options . view instanceof View ) {
417
+ stackLayout . addChild ( options . view ) ;
418
+ }
416
419
options . view = stackLayout ;
417
420
418
421
const alertController = createAlertController ( options , resolve ) ;
@@ -486,6 +489,9 @@ export function login(arg: any): Promise<LoginResult> {
486
489
487
490
stackLayout . addChild ( userNameTextField ) ;
488
491
stackLayout . addChild ( passwordTextField ) ;
492
+ if ( options . view instanceof View ) {
493
+ stackLayout . addChild ( options . view ) ;
494
+ }
489
495
options . view = stackLayout ;
490
496
const alertController = createAlertController ( options , resolve ) ;
491
497
You can’t perform that action at this time.
0 commit comments