mirror of https://github.com/wayvr-org/wayvr.git
dash-frontend: Remove "Show welcome screen" button in the troubleshooting tab
This commit is contained in:
parent
c949b20ba1
commit
c6bfcf8b17
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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 {})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue