Skip to content

Commit

Permalink
[TIMOB-26338]: iOS Label not shown when opened in window from tab-gro…
Browse files Browse the repository at this point in the history
…up (kroll-thread only) (#10293)
  • Loading branch information
vijaysingh-axway authored and hansemannn committed Aug 29, 2018
1 parent 955445d commit 6164fa4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions iphone/Classes/TiUITabProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -256,17 +256,17 @@ - (void)openWindow:(NSArray *)args
[window setTab:self];
[window setParentOrientationController:self];

TiUIView *view = [window view];
TiViewController *controller = (TiViewController *)[window hostingController];
[view setFrame:controller.view.bounds];

//Send to open. Will come back after _handleOpen returns true.
if (![window opening]) {
args = ([args count] > 1) ? [args objectAtIndex:1] : nil;
if (args != nil) {
args = [NSArray arrayWithObject:args];
}
[window open:args];

TiUIView *view = [window view];
TiViewController *controller = (TiViewController *)[window hostingController];
[view setFrame:controller.view.bounds];
return;
}

Expand Down

0 comments on commit 6164fa4

Please sign in to comment.