Skip to content

Commit

Permalink
🎨 Apps in Chinese mainland app stores no longer provide AI access set…
Browse files Browse the repository at this point in the history
…tings #13051
  • Loading branch information
88250 committed Nov 9, 2024
1 parent 962a9df commit a90b2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/protyle/util/compatibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const isHuawei = () => {
};

export const isDisabledFeature = (feature: string): boolean => {
return window.siyuan.config.system.disabledFeatures.indexOf(feature) > -1;
return window.siyuan.config.system.disabledFeatures?.indexOf(feature) > -1;
};

export const isIPhone = () => {
Expand Down

0 comments on commit a90b2bb

Please sign in to comment.