mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 04:18:48 +01:00
🎨 Data synchronization supports the multi-kernel online perception https://github.com/siyuan-note/siyuan/issues/8518
This commit is contained in:
parent
ae336e9f36
commit
f7818c54b1
11 changed files with 48 additions and 0 deletions
|
|
@ -369,6 +369,12 @@ func SetSyncEnable(b bool) {
|
|||
return
|
||||
}
|
||||
|
||||
func SetSyncPerception(b bool) {
|
||||
Conf.Sync.Perception = b
|
||||
Conf.Save()
|
||||
return
|
||||
}
|
||||
|
||||
func SetSyncMode(mode int) (err error) {
|
||||
Conf.Sync.Mode = mode
|
||||
Conf.Save()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue