fix: use SNApplication.toggleComponent

This commit is contained in:
Baptiste Grob
2020-08-17 17:26:10 +02:00
parent d93d057864
commit 57643eeded

View File

@@ -413,7 +413,7 @@ class FooterViewCtrl extends PureViewCtrl<{}, {
}
selectShortcut(shortcut: DockShortcut) {
this.application!.componentManager!.toggleComponent(shortcut.component);
this.application!.toggleComponent(shortcut.component);
}
onRoomDismiss(room: SNComponent) {