theme: Removed commented-out ActiveTheme impl (#3950)

This PR removes a commented-out implementation for the `ActiveTheme`
trait on the `WindowContext`.

We don't need this implementation as we can go through the
`AppContext`'s implementation.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-01-08 13:51:18 -05:00 committed by GitHub
parent 9b06c66e00
commit 5c28c688fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,13 +73,6 @@ impl ActiveTheme for AppContext {
}
}
// todo!()
// impl<'a> ActiveTheme for WindowContext<'a> {
// fn theme(&self) -> &Arc<Theme> {
// &ThemeSettings::get_global(self.app()).active_theme
// }
// }
pub struct ThemeFamily {
pub id: String,
pub name: SharedString,