Skip to content

Commit

Permalink
Add mock data for country
Browse files Browse the repository at this point in the history
Resolve PR comment
  • Loading branch information
deeppandya committed Sep 18, 2024
1 parent 08452d4 commit 32acb34
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ public void prepareMenu(Menu menu, AppMenuHandler handler) {
vpnLocationSubMenu.findItem(R.id.request_vpn_location_id);
String isoCode = BraveVpnPrefUtils.getRegionIsoCode();
String country =
(!BraveVpnPrefUtils.getRegionCountry().equals("")
!BraveVpnPrefUtils.getRegionCountry().equals("")
? BraveVpnPrefUtils.getRegionCountry()
: new Locale("", isoCode).getDisplayCountry());
: new Locale("", isoCode).getDisplayCountry();

vpnLocationSubMenuItem.setTitle(
String.format(
Expand Down
Loading

0 comments on commit 32acb34

Please sign in to comment.