Vanessa 2022-06-05 00:48:29 +08:00
parent 64ae905921
commit ff3cd4d4e9
21 changed files with 117 additions and 85 deletions

View file

@ -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) {

View file

@ -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;
}