🎨 Sync repo

This commit is contained in:
Liang Ding 2022-07-01 21:36:29 +08:00
parent efe1016777
commit 22cefeaf06
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -499,6 +499,11 @@ func syncRepo() (err error) {
incReindex(upserts, removes)
cache.ClearDocsIAL()
util.ReloadUI()
elapsed = time.Since(start)
go func() {
time.Sleep(2 * time.Second)
util.PushStatusBar(fmt.Sprintf(Conf.Language(149)+" [%s]", elapsed.Seconds(), latest.ID[:7]))
}()
return
}