🐛 Can't switch workspaces on mobile app Fix https://github.com/siyuan-note/siyuan/issues/10654

This commit is contained in:
Daniel
2024-03-19 23:34:31 +08:00
parent db10cf2f43
commit 6b7502fc54
2 changed files with 3 additions and 2 deletions

View File

@@ -311,8 +311,9 @@ 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)
time.Sleep(time.Second * 1)
model.Close(false, false, 1)
time.Sleep(time.Second * 1)
}
}