Commit 1b446a6e authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

Fix progress bar issue when leaving NTP

When leaving the NTP, the progress bar of the toolbar was progressing
backward before starting the loading.
This CL fixes it.

Bug: 792791
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I49cbe4073b3d33d1e2fe45e44c588403c44dea7a
Reviewed-on: https://chromium-review.googlesource.com/813734Reviewed-by: default avatarElodie Banel <lod@chromium.org>
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#522410}
parent c62ed353
......@@ -571,8 +571,8 @@
if (!loading) {
[self stopProgressBar];
} else {
[self.progressBar setProgress:0];
[self.progressBar setHidden:NO animated:YES completion:nil];
[self.progressBar setProgress:0];
}
}
......
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