Skip to content

Commit

Permalink
test5
Browse files Browse the repository at this point in the history
  • Loading branch information
HeHang0 committed Nov 10, 2023
1 parent 7a2e2c9 commit 3cac16b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions web/src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down

0 comments on commit 3cac16b

Please sign in to comment.