only show notifications if we have data
This commit is contained in:
parent
9d541d8aad
commit
54a39f2046
|
@ -258,6 +258,7 @@ 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)
|
||||
|
@ -267,6 +268,7 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
|||
sbInfo.append(" (").append(node.organization).append(')');
|
||||
|
||||
sbInfo.append('\n');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue