Vanessa 2024-05-29 10:53:35 +08:00
parent a48854a166
commit 750303da7e
15 changed files with 36 additions and 30 deletions

View file

@ -56,7 +56,7 @@ export const reloadSync = (app: App, data: { upsertRootIDs: string[], removeRoot
id: window.siyuan.mobile.editor.protyle.block.rootID
}, (response) => {
setTitle(response.data.name);
(document.getElementById("toolbarName") as HTMLInputElement).value = response.data.name === window.siyuan.languages.untitled ? "" : response.data.name;
window.siyuan.mobile.editor.protyle.title.setTitle(response.data.name);
});
}
}