mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-11 23:22:33 +01:00
This commit is contained in:
parent
3cc264b738
commit
007b5da460
3 changed files with 29 additions and 2 deletions
|
|
@ -23,9 +23,9 @@ import {
|
|||
setTitle,
|
||||
transactionError
|
||||
} from "./dialog/processSystem";
|
||||
import {initMessage} from "./dialog/message";
|
||||
import {initMessage, showMessage} from "./dialog/message";
|
||||
import {getAllTabs} from "./layout/getAll";
|
||||
import {getLocalStorage} from "./protyle/util/compatibility";
|
||||
import {getLocalStorage, isChromeBrowser} from "./protyle/util/compatibility";
|
||||
import {getSearch} from "./util/functions";
|
||||
import {checkPublishServiceClosed} from "./util/processMessage";
|
||||
import {hideAllElements} from "./protyle/ui/hideElements";
|
||||
|
|
@ -212,6 +212,11 @@ export class App {
|
|||
account.onSetaccount();
|
||||
setTitle(window.siyuan.languages.siyuanNote);
|
||||
initMessage();
|
||||
/// #if BROWSER && !MOBILE
|
||||
if (!isChromeBrowser()) {
|
||||
showMessage(window.siyuan.languages.useChrome, 0, "error");
|
||||
}
|
||||
/// #endif
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue