Skip to content

Commit

Permalink
Added BR flag image to vpn panel
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhong committed Apr 14, 2023
1 parent ca10903 commit c879b0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const IconBox = styled.span`
}
`

const COUNTRIES = ['AU', 'CA', 'CH', 'DE', 'ES', 'FR', 'GB', 'JP', 'NL', 'SG', 'US']
const COUNTRIES = ['AU', 'BR', 'CA', 'CH', 'DE', 'ES', 'FR', 'GB', 'JP', 'NL', 'SG', 'US']

function Flag (props: Props) {
const [url, setUrl] = React.useState<undefined | string>(undefined)
Expand Down
1 change: 1 addition & 0 deletions components/brave_vpn/resources/panel/static_resources.grd
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<release seq="1">
<includes>
<include name="IDR_BRAVE_VPN_COUNTRY_FLAG_AU_SVG" file="assets/country-flags/AU.svg" type="BINDATA" />
<include name="IDR_BRAVE_VPN_COUNTRY_FLAG_BR_SVG" file="assets/country-flags/BR.svg" type="BINDATA" />
<include name="IDR_BRAVE_VPN_COUNTRY_FLAG_CA_SVG" file="assets/country-flags/CA.svg" type="BINDATA" />
<include name="IDR_BRAVE_VPN_COUNTRY_FLAG_CH_SVG" file="assets/country-flags/CH.svg" type="BINDATA" />
<include name="IDR_BRAVE_VPN_COUNTRY_FLAG_DE_SVG" file="assets/country-flags/DE.svg" type="BINDATA" />
Expand Down

0 comments on commit c879b0e

Please sign in to comment.