only show notifications if we have data
This commit is contained in:
parent
9d541d8aad
commit
54a39f2046
|
@ -258,15 +258,17 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
||||||
Node node = hmBuiltNodes.get(key);
|
Node node = hmBuiltNodes.get(key);
|
||||||
|
|
||||||
if (node.ipAddress != null)
|
if (node.ipAddress != null)
|
||||||
|
{
|
||||||
sbInfo.append(node.ipAddress);
|
sbInfo.append(node.ipAddress);
|
||||||
|
|
||||||
if (node.country != null)
|
if (node.country != null)
|
||||||
sbInfo.append(' ').append(node.country);
|
sbInfo.append(' ').append(node.country);
|
||||||
|
|
||||||
if (node.organization != null)
|
if (node.organization != null)
|
||||||
sbInfo.append(" (").append(node.organization).append(')');
|
sbInfo.append(" (").append(node.organization).append(')');
|
||||||
|
|
||||||
sbInfo.append('\n');
|
sbInfo.append('\n');
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue