Commit e456c7f6 authored by Yuwei Huang's avatar Yuwei Huang Committed by Commit Bot

[CRD iOS] Remove workaround for excessive host list padding

Given that fixes in both MDC and GoogleKit have already been rolled into
Chromium, the workaround is no longer needed.

Bug: 766892
Change-Id: I2ba2b09c399bc845f867057c261125cbcc3444ea
Reviewed-on: https://chromium-review.googlesource.com/740879Reviewed-by: default avatarJamie Walch <jamiewalch@chromium.org>
Commit-Queue: Yuwei Huang <yuweih@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512589}
parent 423c79e1
...@@ -369,15 +369,6 @@ animationControllerForDismissedController:(UIViewController*)dismissed { ...@@ -369,15 +369,6 @@ animationControllerForDismissedController:(UIViewController*)dismissed {
contentViewController.collectionView; contentViewController.collectionView;
self.contentViewController = contentViewController; self.contentViewController = contentViewController;
self.contentViewController.view.frame = self.view.bounds; self.contentViewController.view.frame = self.view.bounds;
if (@available(iOS 11.0, *)) {
// TODO(crbug.com/766892): This is a workaround for material component bug
// https://github.com/material-components/material-components-ios/issues/1962
// Remove once it is resolved.
self.headerViewController.headerView.trackingScrollView
.contentInsetAdjustmentBehavior =
UIScrollViewContentInsetAdjustmentNever;
}
} }
- (void)handleHostListFetchFailure:(HostListFetchFailureReason)reason { - (void)handleHostListFetchFailure:(HostListFetchFailureReason)reason {
......
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