mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user