fix: use SNApplication.toggleComponent
This commit is contained in:
@@ -413,7 +413,7 @@ class FooterViewCtrl extends PureViewCtrl<{}, {
|
|||||||
}
|
}
|
||||||
|
|
||||||
selectShortcut(shortcut: DockShortcut) {
|
selectShortcut(shortcut: DockShortcut) {
|
||||||
this.application!.componentManager!.toggleComponent(shortcut.component);
|
this.application!.toggleComponent(shortcut.component);
|
||||||
}
|
}
|
||||||
|
|
||||||
onRoomDismiss(room: SNComponent) {
|
onRoomDismiss(room: SNComponent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user