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:
parent
af9e7f1f96
commit
a960344301
11 changed files with 13 additions and 23 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue