Commit b429fd41 authored by Justin Cohen's avatar Justin Cohen Committed by Commit Bot

[ios] Update tab strip position on safe area changes.

Bug: 907467
Change-Id: I508359926472d5bfcda2c7564fc3d550f77e8a2b
Reviewed-on: https://chromium-review.googlesource.com/c/1350204Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610848}
parent ed098fb7
......@@ -1654,6 +1654,11 @@ applicationCommandEndpoint:(id<ApplicationCommands>)applicationCommandEndpoint
if ([self isTabNativePage:currentTab]) {
[currentTab.webController.view setNeedsLayout];
}
// Update the tab strip placement.
if (self.tabStripView) {
[self showTabStripView:self.tabStripView];
}
}
- (void)viewDidLayoutSubviews {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment