This commit is contained in:
Vanessa 2023-06-01 20:50:49 +08:00
parent fd0893d8d8
commit 6806392b41
57 changed files with 271 additions and 360 deletions

View file

@ -153,7 +153,6 @@ const focusStack = async (app: App, stack: IBackStack) => {
return false;
}
zoomOut({
app,
protyle: stack.protyle,
id: stack.zoomId || stack.protyle.block.rootID,
isPushBack: false,

View file

@ -5,9 +5,9 @@ export const isMobile = () => {
// "windows" | "linux" | "darwin" | "docker" | "android" | "ios"
export const getBackend = () => {
if (["docker", "ios", "android"].includes(window.siyuan.config.system.container)) {
return window.siyuan.config.system.container
return window.siyuan.config.system.container;
} else {
return window.siyuan.config.system.os
return window.siyuan.config.system.os;
}
};