You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixbrave/brave-browser#21190
So far BRAVE_THEME_PROPERTIES_LAST is not the last brave theme color id.
Due to this, vpn button's color id was higher than BRAVE_THEME_PROPERTIES_LAST.
This made BraveThemeProperties::IsBraveThemeProperties() gives false for vpn button's color id.
Marking as QA/No because it needs to be a debug build in order to crash. Situations with a Release build would fail too - where it would showing a RED border around the VPN button (see picture in original post). We could test for that actually - but unnecessary IMO
Description
There is a debug crash after changing theme.
I think we need to add a value in https://github.com/brave/brave-core/blob/master/browser/themes/theme_properties.cc representing the color used for VPN button. It's looking for ID
10029
and not finding it.Steps to Reproduce
brave://flags/#skus-sdk
to ENABLEDbrave://flags/#brave-vpn
to ENABLEDbrave://settings/manageProfile
Actual result:
The console shows:
If you comment out the DCHECK or run a release build, it shows the border as red:
Expected result:
It should have a nice contrasted border, similar to defaults on dark mode and light mode
Reproduces how often:
100%
The text was updated successfully, but these errors were encountered: