This commit is contained in:
Mark Qvist 2022-10-02 20:59:11 +02:00
parent 7b58844841
commit ad779d1e33
1 changed files with 11 additions and 2 deletions

View File

@ -773,7 +773,15 @@ class SidebandApp(MDApp):
self.widget_hide(self.root.ids.connectivity_rnode_label) self.widget_hide(self.root.ids.connectivity_rnode_label)
self.widget_hide(self.root.ids.connectivity_use_rnode) self.widget_hide(self.root.ids.connectivity_use_rnode)
self.widget_hide(self.root.ids.connectivity_rnode_cid) self.widget_hide(self.root.ids.connectivity_rnode_cid)
self.widget_hide(self.root.ids.rnode_support_info) self.widget_hide(self.root.ids.connectivity_modem_label)
self.widget_hide(self.root.ids.connectivity_use_modem)
self.widget_hide(self.root.ids.connectivity_modem_fields)
self.widget_hide(self.root.ids.connectivity_bluetooth_label)
self.widget_hide(self.root.ids.connectivity_use_bluetooth)
self.widget_hide(self.root.ids.connectivity_bluetooth_fields)
self.widget_hide(self.root.ids.connectivity_transport_label)
self.widget_hide(self.root.ids.connectivity_enable_transport)
# self.widget_hide(self.root.ids.rnode_support_info)
def con_collapse_local(collapse=True): def con_collapse_local(collapse=True):
self.widget_hide(self.root.ids.connectivity_local_fields, collapse) self.widget_hide(self.root.ids.connectivity_local_fields, collapse)
@ -875,16 +883,17 @@ class SidebandApp(MDApp):
self.root.ids.connectivity_use_rnode.bind(active=save_connectivity) self.root.ids.connectivity_use_rnode.bind(active=save_connectivity)
self.root.ids.connectivity_use_bluetooth.bind(active=save_connectivity) self.root.ids.connectivity_use_bluetooth.bind(active=save_connectivity)
else: else:
info = "" info = ""
if self.sideband.reticulum.is_connected_to_shared_instance: if self.sideband.reticulum.is_connected_to_shared_instance:
info = "Sideband is connected via a shared Reticulum instance running on this system.\n\n" info = "Sideband is connected via a shared Reticulum instance running on this system.\n\n"
info += "To get connectivity status, use the rnstatus utility.\n\n"
info += "To configure connectivity, edit the configuration file located at:\n\n" info += "To configure connectivity, edit the configuration file located at:\n\n"
info += str(RNS.Reticulum.configpath) info += str(RNS.Reticulum.configpath)
else: else:
info = "Sideband is currently running a standalone or master Reticulum instance on this system.\n\n" info = "Sideband is currently running a standalone or master Reticulum instance on this system.\n\n"
info += "To get connectivity status, use the rnstatus utility.\n\n"
info += "To configure connectivity, edit the configuration file located at:\n\n" info += "To configure connectivity, edit the configuration file located at:\n\n"
info += str(RNS.Reticulum.configpath) info += str(RNS.Reticulum.configpath)