system/ui: disable continue button when no network connecton in setup.py (#35249)

disable continue button when no network connecton
pull/35248/head
Dean Lee 4 months ago committed by GitHub
parent b740d23dd0
commit 6adc7e6bdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      system/ui/setup.py

@ -167,6 +167,7 @@ class Setup:
rl.Rectangle(rect.x + MARGIN + button_width + BUTTON_SPACING, button_y, button_width, BUTTON_HEIGHT),
continue_text,
button_style=ButtonStyle.PRIMARY if continue_enabled else ButtonStyle.NORMAL,
is_enabled=continue_enabled,
):
self.state = SetupState.SOFTWARE_SELECTION
self.stop_network_check_thread.set()

Loading…
Cancel
Save