Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

Show browser action as disabled when shield is disabled #37

Merged
merged 2 commits into from
Jun 26, 2018

Conversation

cezaraugusto
Copy link
Contributor

fix brave/brave-browser#240
address brave/brave-browser#169 (partially)

Test Plan

yarn test-unit -- --grep="setIcon"

Manual Test Plan

  1. any protocol that is not /^http/ should show a disabled browserAction icon (partial of Shields should be disabled for about pages brave-browser#169)
  2. toggling shields off should show a disabled browserAction icon

@cezaraugusto cezaraugusto self-assigned this Jun 25, 2018
@cezaraugusto cezaraugusto requested review from bbondy and yrliou June 25, 2018 21:48
@cezaraugusto cezaraugusto changed the title Shields/disabled browser action Show browser action as disabled when shield is disabled Jun 25, 2018
@cezaraugusto cezaraugusto force-pushed the shields/disabled-browser-action branch from 2f3f8f0 to e8efa1e Compare June 25, 2018 22:25
@cezaraugusto cezaraugusto force-pushed the shields/disabled-browser-action branch from e8efa1e to e10e5b0 Compare June 25, 2018 22:52
Copy link
Member

@yrliou yrliou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shields shows enabled icon even when disabled
2 participants