Skip to content

Commit

Permalink
Call super's viewDidLayoutSubviews.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 675590036
  • Loading branch information
Nobody authored and material-automation committed Sep 17, 2024
1 parent 3a851e6 commit 2ee21c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/Dialogs/src/MDCAlertController.m
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,7 @@ - (void)viewDidDisappear:(BOOL)animated {
}

- (void)viewDidLayoutSubviews {
[super viewDidLayoutSubviews];
// Increments the counter to account for an additional layout pass.
self.layoutPassCounter += 1;
// Abort if the layout pass counter is too high.
Expand Down

0 comments on commit 2ee21c0

Please sign in to comment.