mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 11:58:49 +01:00
This commit is contained in:
parent
14ad527fc8
commit
c7cba8a831
2 changed files with 5 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ import {getAllModels} from "../layout/getAll";
|
|||
import {reloadProtyle} from "../protyle/util/reload";
|
||||
import {Tab} from "../layout/Tab";
|
||||
import {setEmpty} from "../mobile/util/setEmpty";
|
||||
import {hideElements} from "../protyle/ui/hideElements";
|
||||
import {hideAllElements, hideElements} from "../protyle/ui/hideElements";
|
||||
import {App} from "../index";
|
||||
import {saveScroll} from "../protyle/scroll/saveScroll";
|
||||
import {isInAndroid, isInIOS} from "../protyle/util/compatibility";
|
||||
|
|
@ -168,6 +168,7 @@ export const kernelError = () => {
|
|||
};
|
||||
|
||||
export const exitSiYuan = () => {
|
||||
hideAllElements(["util"]);
|
||||
/// #if MOBILE
|
||||
saveScroll(window.siyuan.mobile.editor.protyle);
|
||||
/// #endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue