mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-06 07:31:48 +01:00
This commit is contained in:
parent
f3869593f0
commit
2ca0cfadde
6 changed files with 19 additions and 24 deletions
|
|
@ -17,7 +17,7 @@ import {genEmptyElement, genSBElement} from "../../block/util";
|
|||
import {hideElements} from "../ui/hideElements";
|
||||
import {reloadProtyle} from "../util/reload";
|
||||
import {countBlockWord} from "../../layout/status";
|
||||
import {needLogin, needSubscribe} from "../../util/needSubscribe";
|
||||
import {isPaidUser, needSubscribe} from "../../util/needSubscribe";
|
||||
import {resize} from "../util/resize";
|
||||
|
||||
const removeTopElement = (updateElement: Element, protyle: IProtyle) => {
|
||||
|
|
@ -74,7 +74,7 @@ const promiseTransaction = () => {
|
|||
promiseTransaction();
|
||||
}
|
||||
/// #if MOBILE
|
||||
if (((0 !== window.siyuan.config.sync.provider && !needLogin("")) ||
|
||||
if (((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