feat(mobile): allow resetting launch bar config

This commit is contained in:
Elian Doran
2025-01-18 18:49:36 +02:00
parent 1369cd8b16
commit 0a0707434e
2 changed files with 4 additions and 2 deletions

View File

@@ -213,7 +213,7 @@ function resetLauncher(noteId: string) {
if (note?.isLaunchBarConfig()) {
if (note) {
if (noteId === "_lbRoot") {
if (noteId === "_lbRoot" || noteId === "_lbMobileRoot") {
// deleting hoisted notes are not allowed, so we just reset the children
for (const childNote of note.getChildNotes()) {
childNote.deleteNote();