Skip to content

Commit

Permalink
Uplift of #8297 (squashed) to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
brave-browser-releases committed Mar 18, 2021
1 parent 0e81ae4 commit de73545
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1192,6 +1192,9 @@ protected void onDraw(Canvas canvas) {
if (BraveReflectionUtil.EqualTypes(this.getClass(), CustomTabToolbar.class)
|| BraveReflectionUtil.EqualTypes(this.getClass(), ToolbarPhone.class)) {
updateMenuButtonState();
if (getToolbarDataProvider() != null && getToolbarDataProvider().getTab() != null) {
updateBraveShieldsButtonState(getToolbarDataProvider().getTab());
}
}
super.onDraw(canvas);
}
Expand Down

0 comments on commit de73545

Please sign in to comment.