Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2025-02-24 23:04:59 +08:00
commit 1ffc5eafc0
21 changed files with 42 additions and 21 deletions

View file

@ -148,8 +148,11 @@ export const syncGuide = (app?: App) => {
return;
}
/// #if MOBILE
if ((0 === window.siyuan.config.sync.provider && needSubscribe()) ||
(0 !== window.siyuan.config.sync.provider && !isPaidUser())) {
if (0 === window.siyuan.config.sync.provider) {
if (needSubscribe()) {
return
}
} else if (!isPaidUser()) {
showMessage(window.siyuan.languages["_kernel"][214]);
return;
}