This commit is contained in:
Liang Ding 2022-11-11 19:55:39 +08:00
parent be2505f598
commit 24b5c5cc80
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -116,10 +116,10 @@ export const syncGuide = (element?: Element) => {
return;
}
if (isMobile()) {
if (needSubscribe()) {
if (0 === window.siyuan.config.sync.provider && needSubscribe()) {
return;
}
} else if (needSubscribe("")) {
} else if (0 === window.siyuan.config.sync.provider && needSubscribe("")) {
const dialog = new Dialog({
title: window.siyuan.languages.account,
content: `<div class="account" style="background-color: var(--b3-theme-background)">${account.genHTML()}</div>`,