refactor(src/window/panel/components): remove redundant hide_control_center call in on_network_direct_changed

Remove redundant hide_control_center(self.wifi_window) which had no effect after UI redesign; simplifies logic and avoids unnecessary side effects.
This commit is contained in:
sankalp committed 2026-06-17 04:53:01 +05:45
1 parent a382f73795
commit 6c478710dc
1 file changed
-1
@@ -221,7 +221,6 @@ class NetworkIndicator(Box):
def on_network_direct_changed(self, *args):
self.update_modus_service_wlan_state()
self.update_state()
hide_control_center(self.wifi_window)
def on_network_changed(self, *args):
self.update_modus_service_wlan_state()