🎨
This commit is contained in:
parent
6ee3761bc4
commit
f46e0d48ad
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
|
|||
window.siyuan.mobile.editor.protyle.background.render(window.siyuan.mobile.editor.protyle.background.ial, window.siyuan.mobile.editor.protyle.block.rootID);
|
||||
}
|
||||
/// #else
|
||||
if (protyle.background.ial.icon !== data.new.icon) {
|
||||
if (protyle.background && protyle.background.ial.icon !== data.new.icon) {
|
||||
protyle.background.ial.icon = data.new.icon;
|
||||
protyle.background.render(protyle.background.ial, protyle.block.rootID);
|
||||
protyle.model?.parent.setDocIcon(data.new.icon);
|
||||
|
|
Loading…
Add table
Reference in a new issue