From 829a1c29a64830e75a9e4f0089d28b572d031b17 Mon Sep 17 00:00:00 2001 From: brave-builds Date: Fri, 14 Apr 2023 22:30:01 +0000 Subject: [PATCH] Uplift of #18073 (squashed) to beta --- .../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 @@ +