mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-20 05:58:07 +01:00
This commit is contained in:
parent
64ae905921
commit
ff3cd4d4e9
21 changed files with 117 additions and 85 deletions
|
|
@ -14,6 +14,7 @@ import {initAssets, loadAssets} from "../util/assets";
|
|||
import {openMobileFileById} from "./editor";
|
||||
import {promiseTransactions} from "../protyle/wysiwyg/transaction";
|
||||
import {bootSync} from "../dialog/processSystem";
|
||||
import {initMessage} from "../dialog/message";
|
||||
|
||||
class App {
|
||||
constructor() {
|
||||
|
|
@ -58,6 +59,7 @@ class App {
|
|||
} else if (window.siyuan.config.system.container === "android" && window.JSAndroid) {
|
||||
window.JSAndroid.changeStatusBarColor(getComputedStyle(document.body).getPropertyValue("--b3-theme-background"), window.siyuan.config.appearance.mode);
|
||||
}
|
||||
initMessage();
|
||||
});
|
||||
});
|
||||
if (navigator.userAgent.indexOf("iPhone") > -1) {
|
||||
|
|
|
|||
|
|
@ -496,7 +496,6 @@ export class MobileFiles extends Model {
|
|||
}
|
||||
|
||||
private onMount(data: { data: { box: INotebook, existed?: boolean }, callback?: string }) {
|
||||
hideMessage();
|
||||
if (data.data.existed) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue