revert: restore v1.1.14 (37a9f303)
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
shishengliang
2026-09-16 09:29:30 +08:00
parent c49a02e3d9
commit 6ea1b3d5dd
210 changed files with 4448 additions and 36179 deletions
@@ -1,8 +0,0 @@
/** UA-based phone detection intentionally excludes iPad and Android tablets. */
export function isPhoneUserAgent(ua: string): boolean {
return /iPhone|iPod|Windows Phone/i.test(ua) || (/Android/i.test(ua) && /Mobile/i.test(ua));
}
export function phoneRotation(ua: string, width: number, height: number): boolean {
return isPhoneUserAgent(ua) && height > width;
}