refactor: client dialog improvements

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
dw-0
2024-06-29 00:08:19 +02:00
parent 103a7b61b3
commit 7444ae8cea
2 changed files with 41 additions and 67 deletions

View File

@@ -73,10 +73,7 @@ def install_client(client: BaseWebClient) -> None:
enable_remotemode = False
if not mr_instances:
print_moonraker_not_found_dialog()
if not get_confirm(
f"Continue {client.display_name} installation?",
allow_go_back=True,
):
if not get_confirm(f"Continue {client.display_name} installation?"):
return
# if moonraker is not installed or multiple instances