mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 03:22:07 +08:00
@@ -25,10 +25,14 @@ class DeveloperLayoutMici(NavWidget):
|
||||
else:
|
||||
dlg = BigDialog("", ssh_keys._error_message)
|
||||
gui_app.push_widget(dlg)
|
||||
else:
|
||||
ui_state.params.remove("GithubUsername")
|
||||
ui_state.params.remove("GithubSshKeys")
|
||||
self._ssh_keys_btn.set_value("Not set")
|
||||
|
||||
def ssh_keys_callback():
|
||||
github_username = ui_state.params.get("GithubUsername") or ""
|
||||
dlg = BigInputDialog("enter GitHub username...", github_username, confirm_callback=github_username_callback)
|
||||
dlg = BigInputDialog("enter GitHub username...", github_username, minimum_length=0, confirm_callback=github_username_callback)
|
||||
if not system_time_valid():
|
||||
dlg = BigDialog("Please connect to Wi-Fi to fetch your key", "")
|
||||
gui_app.push_widget(dlg)
|
||||
|
||||
Reference in New Issue
Block a user