mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
This commit is contained in:
parent
739e0754ba
commit
2a20c75e3c
2 changed files with 3 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ import {fetchSyncPost} from "../util/fetch";
|
|||
import {App} from "../index";
|
||||
import {Plugin} from "./index";
|
||||
/// #if !MOBILE
|
||||
import {resizeTopBar} from "../layout/util";
|
||||
import {resizeTopBar, saveLayout} from "../layout/util";
|
||||
/// #endif
|
||||
import {API} from "./API";
|
||||
import {getFrontend, isMobile, isWindow} from "../util/functions";
|
||||
|
|
@ -228,5 +228,6 @@ export const afterLoadPlugin = (plugin: Plugin) => {
|
|||
}], dock.config.position === "RightBottom" ? 1 : 0, dock.config.index);
|
||||
}
|
||||
});
|
||||
saveLayout();
|
||||
/// #endif
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue