Skip to content

Commit a07e84e

Browse files
author
chepicov
committed
Fix iPad iOS 13 detection
1 parent 27e1b83 commit a07e84e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/helpers/selectors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ export const isConsole = isConsoleType();
6767
export const isWearable = isWearableType();
6868
export const isMobileSafari = isMobileSafariType();
6969
export const isChromium = isChromiumType();
70-
export const isMobile = isMobileAndTabletType();
70+
export const isMobile = isMobileAndTabletType() || getIPad13();
7171
export const isMobileOnly = isMobileType();
72-
export const isTablet = isTabletType();
72+
export const isTablet = isTabletType() || getIPad13();
7373
export const isBrowser = isBrowserType();
7474
export const isAndroid = isAndroidType();
7575
export const isWinPhone = isWinPhoneType();

0 commit comments

Comments
 (0)