Switch action dispatch to use MutableAppContext parent utilities and delete parent map from presenter
This commit is contained in:
parent
4271eb3624
commit
6442ec59e7
6 changed files with 100 additions and 52 deletions
|
@ -81,6 +81,7 @@ impl StatusBar {
|
|||
where
|
||||
T: 'static + StatusItemView,
|
||||
{
|
||||
cx.reparent(&item);
|
||||
self.left_items.push(Box::new(item));
|
||||
cx.notify();
|
||||
}
|
||||
|
@ -89,6 +90,7 @@ impl StatusBar {
|
|||
where
|
||||
T: 'static + StatusItemView,
|
||||
{
|
||||
cx.reparent(&item);
|
||||
self.right_items.push(Box::new(item));
|
||||
cx.notify();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue