Added network stats to object details

This commit is contained in:
Mark Qvist 2024-05-06 16:46:12 +02:00
parent 4eea61b629
commit e83ead7b37

View File

@ -642,7 +642,7 @@ class RVDetails(MDRecycleView):
try:
nh = RNS.Transport.hops_to(self.delegate.object_hash)
nhi = self.delegate.app.sideband.reticulum.get_next_hop_if_name(self.delegate.object_hash)
if nhi:
if nhi and nhi != "None":
self.entries.append({"icon": "routes", "text": f"Current path on [b]{nhi}[/b]", "on_release": pass_job})
try: