mobile layout now has launchbar

This commit is contained in:
zadam
2022-12-11 22:26:18 +01:00
parent c1d4d3fc8a
commit 23322455a3
6 changed files with 64 additions and 147 deletions

View File

@@ -33,7 +33,7 @@ export default class LauncherWidget extends BasicWidget {
const launcherType = note.getLabelValue("launcherType");
if (launcherType === 'command') {
this.innerWidget = this.initCommandWidget(note)
this.innerWidget = this.initCommandLauncherWidget(note)
.class("launcher-button");
} else if (launcherType === 'note') {
this.innerWidget = new NoteLauncher(note)
@@ -56,7 +56,7 @@ export default class LauncherWidget extends BasicWidget {
this.child(this.innerWidget);
}
initCommandWidget(note) {
initCommandLauncherWidget(note) {
return new CommandButtonWidget()
.title(note.title)
.icon(note.getIcon())