dash-frontend: Remove "Show welcome screen" button in the troubleshooting tab

This commit is contained in:
Aleksander 2026-07-02 20:50:13 +02:00
parent c949b20ba1
commit c6bfcf8b17
2 changed files with 0 additions and 11 deletions

View File

@ -81,7 +81,6 @@ enum Task {
RestartSoftware,
SetTab(TabNameEnum),
SettingUpdated(SettingType),
ShowWelcomeScreen,
UpdateBool(SettingType, bool),
UpdateFloat(SettingType, f32),
UpdateInt(SettingType, i32),
@ -150,9 +149,6 @@ impl<T> Tab<T> for TabSettings<T> {
Task::SetTab(tab) => {
self.set_tab(frontend, data, tab)?;
}
Task::ShowWelcomeScreen => {
self.frontend_tasks.push(FrontendTask::SetTab(TabType::Welcome));
}
Task::UpdateBool(setting, n) => {
self.tasks.push(Task::SettingUpdated(setting));
if let Some(task) = setting.get_frontend_task() {

View File

@ -50,13 +50,6 @@ impl State {
"dashboard/refresh.svg",
Task::RestartSoftware,
)?;
options_danger_button(
par.mp,
c,
"APP_SETTINGS.SHOW_WELCOME_SCREEN",
"dashboard/welcome.svg",
Task::ShowWelcomeScreen,
)?;
Ok(State {})
}
}