Allow opening shared screen via the contacts popover
This commit is contained in:
parent
476020ae84
commit
f99d70500c
5 changed files with 184 additions and 20 deletions
|
@ -3835,6 +3835,11 @@ impl<'a, T: View> ViewContext<'a, T> {
|
|||
self.app.notify_view(self.window_id, self.view_id);
|
||||
}
|
||||
|
||||
pub fn dispatch_action(&mut self, action: impl Action) {
|
||||
self.app
|
||||
.dispatch_action_at(self.window_id, self.view_id, action)
|
||||
}
|
||||
|
||||
pub fn dispatch_any_action(&mut self, action: Box<dyn Action>) {
|
||||
self.app
|
||||
.dispatch_any_action_at(self.window_id, self.view_id, action)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue