improvements in mobile layout for launchbar

This commit is contained in:
zadam
2022-12-12 23:48:34 +01:00
parent d1b989ac12
commit 2957e1d78a
10 changed files with 51 additions and 18 deletions

View File

@@ -383,10 +383,6 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
const activeNoteContext = appContext.tabManager.getActiveContext();
await activeNoteContext.setNote(notePath);
if (utils.isMobile()) {
this.triggerCommand('setActiveScreen', {screen: 'detail'});
}
},
expand: (event, data) => this.setExpanded(data.node.data.branchId, true),
collapse: (event, data) => this.setExpanded(data.node.data.branchId, false),