mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-27 10:46:09 +01:00
♻️ Implement some delayed kernel events using task queues https://github.com/siyuan-note/siyuan/issues/12393
This commit is contained in:
parent
50adf9751b
commit
ffe737f55c
3 changed files with 7 additions and 9 deletions
|
|
@ -257,8 +257,8 @@ func resetDuplicateBlocksOnFileSys() {
|
|||
if needRefreshUI {
|
||||
util.ReloadUI()
|
||||
go func() {
|
||||
time.Sleep(time.Second * 3)
|
||||
util.PushMsg(Conf.Language(190), 5000)
|
||||
util.WaitForUILoaded()
|
||||
task.AppendTaskWithDelay(task.PushMsg, 3*time.Second, util.PushMsg, Conf.Language(190), 5000)
|
||||
}()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue