Skip to content

Commit

Permalink
Resolve vpn prefrence crash
Browse files Browse the repository at this point in the history
  • Loading branch information
deeppandya committed Jun 21, 2023
1 parent c5020b7 commit 4e66458
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 4e66458

Please sign in to comment.