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

disable continue button when no network connecton
This commit is contained in:
Dean Lee
2025-05-17 02:10:58 +08:00
committed by GitHub
parent b740d23dd0
commit 6adc7e6bdb
+1
View File
@@ -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()