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

@ -296,7 +296,7 @@ async fn test_extension_store(cx: &mut TestAppContext) {
["ERB", "Plain Text", "Ruby"]
);
assert_eq!(
theme_registry.list_names(false),
theme_registry.list_names(),
[
"Monokai Dark",
"Monokai Light",
@ -377,7 +377,7 @@ async fn test_extension_store(cx: &mut TestAppContext) {
assert_eq!(index.themes, expected_index.themes);
assert_eq!(
theme_registry.list_names(false),
theme_registry.list_names(),
[
"Gruvbox",
"Monokai Dark",
@ -424,7 +424,7 @@ async fn test_extension_store(cx: &mut TestAppContext) {
["embedded_template".into(), "ruby".into()]
);
assert_eq!(
theme_registry.list_names(false),
theme_registry.list_names(),
[
"Gruvbox",
"Monokai Dark",