mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-23 15:00:39 -04:00
Cleanup
This commit is contained in:
parent
813ada1332
commit
ae941218bc
1 changed files with 5 additions and 5 deletions
|
@ -1434,9 +1434,9 @@ class SidebandApp(MDApp):
|
||||||
def hardware_init(self, sender=None):
|
def hardware_init(self, sender=None):
|
||||||
if not self.hardware_ready:
|
if not self.hardware_ready:
|
||||||
def con_hide_settings():
|
def con_hide_settings():
|
||||||
pass
|
self.widget_hide(self.root.ids.hardware_rnode_button)
|
||||||
# self.widget_hide(self.root.ids.connectivity_use_local)
|
self.widget_hide(self.root.ids.hardware_modem_button)
|
||||||
# self.widget_hide(self.root.ids.rnode_support_info)
|
self.widget_hide(self.root.ids.hardware_serial_button)
|
||||||
|
|
||||||
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)
|
||||||
|
@ -1446,8 +1446,8 @@ class SidebandApp(MDApp):
|
||||||
con_collapse_local(collapse=not self.root.ids.connectivity_use_local.active)
|
con_collapse_local(collapse=not self.root.ids.connectivity_use_local.active)
|
||||||
self.sideband.save_configuration()
|
self.sideband.save_configuration()
|
||||||
|
|
||||||
if True or RNS.vendor.platformutils.get_platform() == "android":
|
if RNS.vendor.platformutils.get_platform() == "android":
|
||||||
if False and not self.sideband.getpersistent("service.is_controlling_connectivity"):
|
if not self.sideband.getpersistent("service.is_controlling_connectivity"):
|
||||||
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 configure hardware parameters, edit the relevant configuration file for the instance."
|
info += "To configure hardware parameters, edit the relevant configuration file for the instance."
|
||||||
self.root.ids.hardware_info.text = info
|
self.root.ids.hardware_info.text = info
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue