-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onBraveThemeTypeChanged
not getting called from extension page
#3882
Comments
I found that current implementation only fires |
Uplifting only to 0.64.x as the only code that depends on this event is in 0.64.x |
@petemill @simonhong is this one macOS (specifically Mojave) only? |
@LaurenWags extension page on Windows should be also changed by windows os theme change. Howeve, another PR was needed for Windows and only nightly will work properly. |
Based on the above comment, added |
@btlechowski yes, it's correct 👍 |
@kjozwiak can you check this one since you have Mojave? |
Verification PASSED on
|
Here is a branch that is attempting to use
chrome.braveTheme.onBraveThemeTypeChanged
event handler:brave/brave-core@try-shields-theme...try-shields-theme-onchangeedit: now on masterIt is not getting fired when the system theme is changed.
Steps to reproduce
Observed: theme doesn't change
Expected: theme changes
This is not a huge issue for Shields panel, but is a nice to have, especially for other webui.
Assigning to 0.63.x for now since 'Same as macOS' was introduced there, but this is not urgent.
The text was updated successfully, but these errors were encountered: