theme: Remove unused staff parameter for listing themes (#20077)

This PR removes the `staff` parameter for listing themes, as it was not
used.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-11-01 10:54:21 -04:00 committed by GitHub
parent af9e7f1f96
commit a960344301
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 13 additions and 23 deletions

View file

@ -3,7 +3,6 @@ use async_compression::futures::bufread::GzipDecoder;
use async_tar::Archive;
use async_trait::async_trait;
use collections::HashMap;
use feature_flags::FeatureFlagAppExt;
use futures::StreamExt;
use gpui::{AppContext, AsyncAppContext};
use http_client::github::{latest_github_release, GitHubLspBinaryVersion};
@ -77,13 +76,11 @@ impl JsonLspAdapter {
fn get_workspace_config(language_names: Vec<String>, cx: &mut AppContext) -> Value {
let action_names = cx.all_action_names();
let staff_mode = cx.is_staff();
let font_names = &cx.text_system().all_font_names();
let settings_schema = cx.global::<SettingsStore>().json_schema(
&SettingsJsonSchemaParams {
language_names: &language_names,
staff_mode,
font_names,
},
cx,