diff --git a/android/java/org/chromium/chrome/browser/vpn/settings/VpnRegionPreference.java b/android/java/org/chromium/chrome/browser/vpn/settings/VpnRegionPreference.java index 88d85e3a5b87..c774a806a671 100644 --- a/android/java/org/chromium/chrome/browser/vpn/settings/VpnRegionPreference.java +++ b/android/java/org/chromium/chrome/browser/vpn/settings/VpnRegionPreference.java @@ -37,11 +37,15 @@ public void onBindViewHolder(PreferenceViewHolder holder) { } String serverLocationTitle = BraveVpnPrefUtils.getRegionCountry(); + String optimalString = "%s - %s"; String serverLocationSummary = BraveVpnPrefUtils.getRegionPrecision() .equals(BraveVpnConstants.REGION_PRECISION_COUNTRY) - ? mContext.getString(R.string.optimal_text) - : BraveVpnPrefUtils.getRegionNamePretty(); + ? String.format( + optimalString, + mContext.getString(R.string.optimal_text), + BraveVpnPrefUtils.getHostnameDisplay()) + : BraveVpnPrefUtils.getHostnameDisplay(); TextView regionTitle = (TextView) holder.findViewById(R.id.region_title); regionTitle.setText(serverLocationTitle);