Skip to content

Commit

Permalink
Push early-update of the status bar control (may not be necessary)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwibrowser committed Dec 14, 2021
1 parent 730417c commit 28bdbef
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -859,18 +859,21 @@ public final void initializeTabModels() {
@Override
public void onLoadStopped(Tab tab, boolean toDifferentDocument) {
postDeferredStartupIfNeeded();
mRootUiCoordinator.getStatusBarColorController().updateStatusBarColor();
}

@Override
public void onPageLoadFinished(Tab tab, GURL url) {
postDeferredStartupIfNeeded();
OfflinePageUtils.showOfflineSnackbarIfNecessary(tab);
mRootUiCoordinator.getStatusBarColorController().updateStatusBarColor();
}

@Override
public void onUrlUpdated(Tab tab){
FixDevToolsWindow.Execute(tab);
PersonalizeResults.Execute(tab);
mRootUiCoordinator.getStatusBarColorController().updateStatusBarColor();
}

@Override
Expand Down

0 comments on commit 28bdbef

Please sign in to comment.