Removes the switch to shell widget

From the summary controller when installation is in progress.
The shell is inoperable on WSL due the fake snap environment.
This commit is contained in:
Carlos Nihelton 2022-12-09 11:44:08 +00:00
parent c7f79b8a41
commit 6d6e1e7854
No known key found for this signature in database
GPG Key ID: 6FE346D245197E9A
1 changed files with 0 additions and 10 deletions

View File

@ -67,16 +67,6 @@ class SummaryController(SubiquityTuiController):
self.ui.set_body(self.summary_view)
self.app.show_error_report(self.crash_report_ref)
if self.app_state == ApplicationState.RUNNING:
if app_status.confirming_tty != self.app.our_tty:
install_running = InstallRunning(
self.app, app_status.confirming_tty)
self.app.add_global_overlay(install_running)
else:
if install_running is not None:
self.app.remove_global_overlay(install_running)
install_running = None
if self.app_state == ApplicationState.DONE:
if self.answers.get('reboot', False):
self.click_reboot()