mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 16:24:20 +01:00
This commit is contained in:
parent
f3869593f0
commit
2ca0cfadde
6 changed files with 19 additions and 24 deletions
|
|
@ -6,7 +6,7 @@ import {Constants} from "../constants";
|
|||
import {onGet} from "../protyle/util/onGet";
|
||||
import {hasClosestByAttribute, hasClosestByClassName} from "../protyle/util/hasClosest";
|
||||
import {hideElements} from "../protyle/ui/hideElements";
|
||||
import {needLogin, needSubscribe} from "../util/needSubscribe";
|
||||
import {isPaidUser, needSubscribe} from "../util/needSubscribe";
|
||||
import {fullscreen} from "../protyle/breadcrumb/action";
|
||||
import {MenuItem} from "../menus/Menu";
|
||||
import {escapeHtml} from "../util/escape";
|
||||
|
|
@ -394,7 +394,7 @@ export const bindCardEvent = (options: {
|
|||
}, () => {
|
||||
/// #if MOBILE
|
||||
if (type !== "-3" &&
|
||||
((0 !== window.siyuan.config.sync.provider && !needLogin("")) ||
|
||||
((0 !== window.siyuan.config.sync.provider && isPaidUser()) ||
|
||||
(0 === window.siyuan.config.sync.provider && !needSubscribe(""))) &&
|
||||
window.siyuan.config.repo.key && window.siyuan.config.sync.enabled) {
|
||||
document.getElementById("toolbarSync").classList.remove("fn__none");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue