mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-16 23:30:36 +01:00
Added ipinfo/region
This commit is contained in:
@@ -397,7 +397,8 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
|
||||
@Override
|
||||
protected void onExecuted(Bundle args, Pair<InetAddress, IPInfo> data) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for (String value : new String[]{data.second.org, data.second.city, data.second.country})
|
||||
IPInfo ipinfo = data.second;
|
||||
for (String value : new String[]{ipinfo.org, ipinfo.city, ipinfo.region, ipinfo.country})
|
||||
if (!TextUtils.isEmpty(value)) {
|
||||
if (sb.length() != 0)
|
||||
sb.append("; ");
|
||||
|
||||
Reference in New Issue
Block a user