This commit is contained in:
Mikayla 2023-11-21 12:40:00 -08:00
parent b4275008f9
commit 663bbb06d9
No known key found for this signature in database
14 changed files with 921 additions and 51 deletions

View file

@ -86,6 +86,10 @@ impl ThemeRegistry {
}));
}
pub fn clear(&mut self) {
self.themes.clear();
}
pub fn list_names(&self, _staff: bool) -> impl Iterator<Item = SharedString> + '_ {
self.themes.keys().cloned()
}