Hide sections on desktop

This commit is contained in:
Mark Qvist 2022-10-13 19:55:24 +02:00
parent 9dbcaac40d
commit ad00847239

View File

@ -1011,6 +1011,9 @@ class SidebandApp(MDApp):
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.connectivity_serial_label)
self.widget_hide(self.root.ids.connectivity_use_serial)
self.widget_hide(self.root.ids.connectivity_serial_fields)
def con_collapse_local(collapse=True):
self.widget_hide(self.root.ids.connectivity_local_fields, collapse)