From c879b0e6cb2a216d1868045e43a13b0d6deda6ae Mon Sep 17 00:00:00 2001 From: Simon Hong Date: Fri, 14 Apr 2023 22:17:04 +0900 Subject: [PATCH] Added BR flag image to vpn panel fix https://github.com/brave/brave-browser/issues/29719 --- .../brave_vpn/resources/panel/assets/country-flags/BR.svg | 1 + components/brave_vpn/resources/panel/components/flag/index.tsx | 2 +- components/brave_vpn/resources/panel/static_resources.grd | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 components/brave_vpn/resources/panel/assets/country-flags/BR.svg diff --git a/components/brave_vpn/resources/panel/assets/country-flags/BR.svg b/components/brave_vpn/resources/panel/assets/country-flags/BR.svg new file mode 100644 index 000000000000..211232a2df12 --- /dev/null +++ b/components/brave_vpn/resources/panel/assets/country-flags/BR.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/components/brave_vpn/resources/panel/components/flag/index.tsx b/components/brave_vpn/resources/panel/components/flag/index.tsx index 4e5e07d590a4..44452578ab73 100644 --- a/components/brave_vpn/resources/panel/components/flag/index.tsx +++ b/components/brave_vpn/resources/panel/components/flag/index.tsx @@ -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) diff --git a/components/brave_vpn/resources/panel/static_resources.grd b/components/brave_vpn/resources/panel/static_resources.grd index 6616752f8e85..d21338911eef 100644 --- a/components/brave_vpn/resources/panel/static_resources.grd +++ b/components/brave_vpn/resources/panel/static_resources.grd @@ -11,6 +11,7 @@ +