improve checkmark responsiveness

pull/36039/head
Shane Smiskol 6 days ago
parent 4eb6638a20
commit 0888a956b3
  1. 2
      system/ui/widgets/network.py

@ -183,7 +183,7 @@ class WifiManagerUI(Widget):
def _draw_status_icon(self, rect, network: Network): def _draw_status_icon(self, rect, network: Network):
"""Draw the status icon based on network's connection state""" """Draw the status icon based on network's connection state"""
icon_file = None icon_file = None
if network.is_connected: if network.is_connected and self.state != UIState.CONNECTING:
icon_file = "icons/checkmark.png" icon_file = "icons/checkmark.png"
elif network.security_type == SecurityType.UNSUPPORTED: elif network.security_type == SecurityType.UNSUPPORTED:
icon_file = "icons/circled_slash.png" icon_file = "icons/circled_slash.png"

Loading…
Cancel
Save