mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
5a246587ec
commit
a9228f253e
1 changed files with 4 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ import {getSearch, isMobile, isValidAttrName} from "../util/functions";
|
|||
import {isLocalPath, movePathTo, moveToPath, pathPosix} from "../util/pathName";
|
||||
import {MenuItem} from "./Menu";
|
||||
import {saveExport} from "../protyle/export";
|
||||
import {openByMobile, writeText} from "../protyle/util/compatibility";
|
||||
import {isInAndroid, openByMobile, writeText} from "../protyle/util/compatibility";
|
||||
import {fetchPost, fetchSyncPost} from "../util/fetch";
|
||||
import {hideMessage, showMessage} from "../dialog/message";
|
||||
import {Dialog} from "../dialog";
|
||||
|
|
@ -682,7 +682,7 @@ export const openMenu = (app: App, src: string, onlyMenu: boolean, showAccelerat
|
|||
const submenu = [];
|
||||
/// #if MOBILE
|
||||
submenu.push({
|
||||
label: window.siyuan.languages.useBrowserView,
|
||||
label: isInAndroid() ? window.siyuan.languages.useDefault : window.siyuan.languages.useBrowserView,
|
||||
accelerator: showAccelerator ? "Click" : "",
|
||||
click: () => {
|
||||
openByMobile(src);
|
||||
|
|
@ -753,7 +753,7 @@ export const openMenu = (app: App, src: string, onlyMenu: boolean, showAccelerat
|
|||
});
|
||||
/// #else
|
||||
submenu.push({
|
||||
label: window.siyuan.languages.useBrowserView,
|
||||
label: isInAndroid() ? window.siyuan.languages.useDefault : window.siyuan.languages.useBrowserView,
|
||||
accelerator: showAccelerator ? "Click" : "",
|
||||
click: () => {
|
||||
openByMobile(src);
|
||||
|
|
@ -779,7 +779,7 @@ export const openMenu = (app: App, src: string, onlyMenu: boolean, showAccelerat
|
|||
});
|
||||
/// #else
|
||||
submenu.push({
|
||||
label: window.siyuan.languages.useBrowserView,
|
||||
label: isInAndroid() ? window.siyuan.languages.useDefault : window.siyuan.languages.useBrowserView,
|
||||
accelerator: showAccelerator ? "Click" : "",
|
||||
click: () => {
|
||||
openByMobile(src);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue