Navigation Menu

Skip to content

Commit

Permalink
Merge pull request tidev#484 from rseagraves/timob-5313
Browse files Browse the repository at this point in the history
[timob-5313]  Eliminate recursive initialization in 'updateContentSize' b
  • Loading branch information
rseagraves committed Sep 22, 2011
2 parents 8f497fb + 9263cc0 commit 9d957f6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions iphone/Classes/TiUIiPadPopoverProxy.m
Expand Up @@ -74,9 +74,8 @@ -(UINavigationController *)navigationController

-(void)updateContentSize
{
CGSize newSize = [self contentSize];
BOOL animated_ = [[self popoverController] isPopoverVisible];
[[self viewController] setContentSizeForViewInPopover:newSize];
CGSize newSize = [self contentSize];
[[self viewController] setContentSizeForViewInPopover:newSize];
[self layoutChildren:NO];
}

Expand Down Expand Up @@ -370,4 +369,4 @@ - (void)viewDidDisappear:(BOOL)animated
@end
#endif

#endif
#endif

0 comments on commit 9d957f6

Please sign in to comment.