mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🐛 Can't switch workspaces on mobile app Fix https://github.com/siyuan-note/siyuan/issues/10654
This commit is contained in:
parent
71a7a71b3a
commit
b72b832007
4 changed files with 18 additions and 14 deletions
|
|
@ -490,7 +490,7 @@ func exit(c *gin.Context) {
|
|||
execInstallPkg = int(execInstallPkgArg.(float64))
|
||||
}
|
||||
|
||||
exitCode := model.Close(force, execInstallPkg)
|
||||
exitCode := model.Close(force, true, execInstallPkg)
|
||||
ret.Code = exitCode
|
||||
switch exitCode {
|
||||
case 0:
|
||||
|
|
|
|||
|
|
@ -312,7 +312,7 @@ func setWorkspaceDir(c *gin.Context) {
|
|||
if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container {
|
||||
util.PushMsg(model.Conf.Language(42), 1000*15)
|
||||
time.Sleep(time.Second * 2)
|
||||
model.Close(false, 1)
|
||||
model.Close(false, false, 1)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue