mirror of
https://git.meli.delivery/meli/meli
synced 2024-10-30 21:20:34 +00:00
mail/view: Fix HtmlView not being redrawn when parent is dirty
This commit is contained in:
parent
ed3dbc8586
commit
824f614a69
@ -1646,6 +1646,9 @@ impl Component for MailView {
|
||||
match self.mode {
|
||||
ViewMode::Subview if self.subview.is_some() => {
|
||||
if let Some(s) = self.subview.as_mut() {
|
||||
if !s.is_dirty() {
|
||||
s.set_dirty(true);
|
||||
}
|
||||
s.draw(grid, (set_y(upper_left, y), bottom_right), context);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user