diff --git a/web/src/stores/setting.ts b/web/src/stores/setting.ts index c683cb6..50c857a 100644 --- a/web/src/stores/setting.ts +++ b/web/src/stores/setting.ts @@ -268,8 +268,8 @@ export const useSettingStore = defineStore('setting', { }); if (appleMobileWebAppStatusBarStyle) { appleMobileWebAppStatusBarStyle.content = dark - ? 'light-content' - : 'dark-content'; + ? 'black-translucent' + : 'default'; } if (themeColor) { themeColor.content = dark ? '#13131a' : '#f7f7f7'; diff --git a/web/src/utils/utils.ts b/web/src/utils/utils.ts index 70d7cc2..edec0c1 100644 --- a/web/src/utils/utils.ts +++ b/web/src/utils/utils.ts @@ -123,7 +123,6 @@ export function fixNotchIPhoneHeight() { metaThemeColor.content = '#f7f7f7'; } } -(window as any).fixNotchIPhoneHeight = fixNotchIPhoneHeight; export function duration2Millisecond(duration: string) { if (!duration || typeof duration != 'string') duration = '';