🎨 Apps in Chinese mainland app stores no longer provide AI access settings https://github.com/siyuan-note/siyuan/issues/13051
This commit is contained in:
parent
7b9163d480
commit
7e3e1d03ef
1 changed files with 4 additions and 4 deletions
|
@ -220,10 +220,6 @@ func InitConf() {
|
|||
util.UseSingleLineSave = Conf.FileTree.UseSingleLineSave
|
||||
|
||||
util.CurrentCloudRegion = Conf.CloudRegion
|
||||
Conf.System.DisabledFeatures = util.DisabledFeatures
|
||||
if 1 > len(Conf.System.DisabledFeatures) {
|
||||
Conf.System.DisabledFeatures = []string{}
|
||||
}
|
||||
|
||||
if nil == Conf.Tag {
|
||||
Conf.Tag = conf.NewTag()
|
||||
|
@ -311,6 +307,10 @@ func InitConf() {
|
|||
Conf.System.ID = util.GetDeviceID()
|
||||
Conf.System.Name = util.GetDeviceName()
|
||||
}
|
||||
Conf.System.DisabledFeatures = util.DisabledFeatures
|
||||
if 1 > len(Conf.System.DisabledFeatures) {
|
||||
Conf.System.DisabledFeatures = []string{}
|
||||
}
|
||||
|
||||
if nil == Conf.Snippet {
|
||||
Conf.Snippet = conf.NewSnpt()
|
||||
|
|
Loading…
Add table
Reference in a new issue