This commit is contained in:
Vanessa 2023-06-26 23:30:53 +08:00
parent 694557fd14
commit f09f1dea39
8 changed files with 8 additions and 8 deletions

View file

@ -9,7 +9,7 @@
</head>
<body class="fn__flex-column">
<div id="loading" class="b3-dialog b3-dialog--open">
<div class="b3-dialog__scrim" style="background-color: #1e1f22"></div>
<div class="b3-dialog__scrim" style="background-color: #1e1e1e"></div>
<img style="position: absolute;width: 36vh;" src="../../icon.png">
<button onclick="window.location.reload()" id="loadingRefresh"
style="display: none;position: absolute;bottom: 16px;background: transparent;border: 1px solid #4285f4;color: #4285f4;border-radius: 4px;line-height: 20px;padding: 4px 8px;">

View file

@ -13,7 +13,7 @@
</head>
<body class="fn__flex-column">
<div id="loading" class="b3-dialog b3-dialog--open">
<div class="b3-dialog__scrim" style="background-color: #1e1f22"></div>
<div class="b3-dialog__scrim" style="background-color: #1e1e1e"></div>
<img style="position: absolute;width: 36vh;" src="../../icon.png">
</div>
<div id="toolbar" class="toolbar fn__flex"></div>

View file

@ -8,7 +8,7 @@
</head>
<body class="fn__flex-column">
<div id="loading" class="b3-dialog b3-dialog--open">
<div class="b3-dialog__scrim" style="background-color: #1e1f22"></div>
<div class="b3-dialog__scrim" style="background-color: #1e1e1e"></div>
<img style="position: absolute;width: 36vh;" src="../../icon.png">
</div>
<div class="toolbar toolbar--border">

View file

@ -296,7 +296,7 @@ const updateMobileTheme = (OSTheme: string) => {
}
}
if (window.siyuan.config.system.container === "ios" && window.webkit?.messageHandlers) {
window.webkit.messageHandlers.changeStatusBar.postMessage((backgroundColor || (mode === 0 ? "#fff" : "#1e1f22")) + " " + mode);
window.webkit.messageHandlers.changeStatusBar.postMessage((backgroundColor || (mode === 0 ? "#fff" : "#1e1e1e")) + " " + mode);
} else if (window.siyuan.config.system.container === "android" && window.JSAndroid) {
window.JSAndroid.changeStatusBarColor(backgroundColor, mode);
}