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);
|
||||
|
||||
if (node.ipAddress != null)
|
||||
{
|
||||
sbInfo.append(node.ipAddress);
|
||||
|
||||
if (node.country != null)
|
||||
sbInfo.append(' ').append(node.country);
|
||||
if (node.country != null)
|
||||
sbInfo.append(' ').append(node.country);
|
||||
|
||||
if (node.organization != null)
|
||||
sbInfo.append(" (").append(node.organization).append(')');
|
||||
if (node.organization != null)
|
||||
sbInfo.append(" (").append(node.organization).append(')');
|
||||
|
||||
sbInfo.append('\n');
|
||||
sbInfo.append('\n');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue