diff --git a/web/src/utils/utils.ts b/web/src/utils/utils.ts index e251d7c..4bb77c6 100644 --- a/web/src/utils/utils.ts +++ b/web/src/utils/utils.ts @@ -123,7 +123,26 @@ export function fixNotchIPhoneHeight() { metaThemeColor.content = '#f7f7f7'; document.head.appendChild(metaThemeColor); } + alert( + JSON.stringify({ + sat, + sal, + sar, + sab, + isIOS, + isInStandaloneMode + }) + ); + return { + sat, + sal, + sar, + sab, + isIOS, + isInStandaloneMode + }; } +(window as any).fixNotchIPhoneHeight = fixNotchIPhoneHeight; export function duration2Millisecond(duration: string) { if (!duration || typeof duration != 'string') duration = '';