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

[ios] Restore refresh ntp toolbars.

Followup to https://chromium-review.googlesource.com/c/chromium/src/+/941441, as
hiding blur will hide the entire toolbar.

Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I2b051fc0573e45922d35bb695bfd3cdff289b3e8
Reviewed-on: https://chromium-review.googlesource.com/951748Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541463}
parent 7ac60e68
...@@ -61,14 +61,12 @@ ...@@ -61,14 +61,12 @@
self.view.backgroundColor = self.view.backgroundColor =
self.buttonFactory.toolbarConfiguration.NTPBackgroundColor; self.buttonFactory.toolbarConfiguration.NTPBackgroundColor;
self.view.blur.hidden = YES;
self.view.locationBarContainer.hidden = YES; self.view.locationBarContainer.hidden = YES;
} }
- (void)resetAfterSideSwipeSnapshot { - (void)resetAfterSideSwipeSnapshot {
[super resetAfterSideSwipeSnapshot]; [super resetAfterSideSwipeSnapshot];
self.view.backgroundColor = nil; self.view.backgroundColor = nil;
self.view.blur.hidden = NO;
self.view.locationBarContainer.hidden = NO; self.view.locationBarContainer.hidden = NO;
} }
......
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