mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
feat(mobile): add button to toggle sidebar
This commit is contained in:
@@ -12,7 +12,9 @@ export default class SidebarContainer extends FlexContainer {
|
||||
super.doRender();
|
||||
|
||||
this.$widget.on("click", () => {
|
||||
this.triggerEvent('activeScreenChanged', "detail");
|
||||
this.triggerCommand('setActiveScreen', {
|
||||
screen: "detail"
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user