Skip to content

Commit

Permalink
Merge pull request #18988 from brave/resolve_vpn_pref_crash
Browse files Browse the repository at this point in the history
Resolve vpn prefrence crash
  • Loading branch information
deeppandya committed Jun 21, 2023
2 parents 2ed146e + 4e66458 commit d6e2807
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ private void updateSummary(String preferenceString, String summary) {
}

private void updateSummaries() {
if (getActivity() == null) {
return;
}
List<BraveVpnServerRegion> vpnServerRegions =
BraveVpnUtils.getServerLocations(BraveVpnPrefUtils.getServerRegions());
String serverLocation = "";
Expand Down

0 comments on commit d6e2807

Please sign in to comment.