We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e5e2e7 commit c985726Copy full SHA for c985726
openandroidinstaller/views/start_view.py
@@ -255,7 +255,8 @@ def search_devices(self, e):
255
)
256
self.device_name.color = colors.GREEN
257
# if there are no steps for bootloader unlocking, assume there is nothing to do and toggle the switch
258
- self.bootloader_switch.value = True
+ if len(self.state.config.unlock_bootloader) == 0:
259
+ self.bootloader_switch.value = True
260
else:
261
# failed to load config
262
logger.error(f"Failed to load config for {device_code}.")
0 commit comments