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:
parent
9b06c66e00
commit
5c28c688fa
1 changed files with 0 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue